src/ClientRepository.php
public function activeForUser($userId)
    {
        return $this->forUser($userId)->reject(function ($client) {
            return $client->revoked;
        })->values();
    }
public function activeForUser($userId)
    {
        return $this->forUser($userId)->reject(function ($client) {
            return $client->revoked;
        })->values();
    }
public function activeForUser ( $ userId ) { return $ this -> forUser ( $ userId ) -> reject ( function ( $ client ) { return $ client -> revoked ; } ) -> values ( ) ; }
Get the active client instances for the given user ID.

@param  mixed  $userId
@return \Illuminate\Database\Eloquent\Collection
Get the active client instances for the given user ID .