public function create($name, $id, $secret)
    {
        return $this->getConnection()->table('oauth_clients')->insertGetId([
            'id' => $id,
            'name' => $name,
            'secret' => $secret,
            'created_at' => Carbon::now(),
            'updated_at' => Carbon::now(),
        ]);
    }
public function create($name, $id, $secret)
    {
        return $this->getConnection()->table('oauth_clients')->insertGetId([
            'id' => $id,
            'name' => $name,
            'secret' => $secret,
            'created_at' => Carbon::now(),
            'updated_at' => Carbon::now(),
        ]);
    }
public function create ( $ name , $ id , $ secret ) { return $ this -> getConnection ( ) -> table ( 'oauth_clients' ) -> insertGetId ( [ 'id' => $ id , 'name' => $ name , 'secret' => $ secret , 'created_at' => Carbon :: now ( ) , 'updated_at' => Carbon :: now ( ) , ] ) ; }
Create a new client.

@param string $name The client's unique name
@param string $id The client's unique id
@param string $secret The clients' unique secret

@return string
Create a new client .