public function allOtherClients()
    {
        $current_client = $this->client;

        $filter = function ($client) use ($current_client) {
            return $client !== $current_client;
        };

        return $this->clients->filter($filter);
    }
public function allOtherClients()
    {
        $current_client = $this->client;

        $filter = function ($client) use ($current_client) {
            return $client !== $current_client;
        };

        return $this->clients->filter($filter);
    }
public function allOtherClients ( ) { $ current_client = $ this -> client ; $ filter = function ( $ client ) use ( $ current_client ) { return $ client !== $ current_client ; } ; return $ this -> clients -> filter ( $ filter ) ; }
Get all users connected.

@var array
Get all users connected .