src/ClientRepository.php
public function find($id)
    {
        $client = Passport::client();

        return $client->where($client->getKeyName(), $id)->first();
    }
public function find($id)
    {
        $client = Passport::client();

        return $client->where($client->getKeyName(), $id)->first();
    }
public function find ( $ id ) { $ client = Passport :: client ( ) ; return $ client -> where ( $ client -> getKeyName ( ) , $ id ) -> first ( ) ; }
Get a client by the given ID.

@param  int  $id
@return \Laravel\Passport\Client|null
Get a client by the given ID .