class ClientManipulator implements ClientManipulatorInterface

Class ClientManipulator

Properties

protected ClientStorageInterface $clientStorage
protected WebSocketAuthenticationProviderInterface $authenticationProvider

Methods

__construct(ClientStorageInterface $clientStorage, WebSocketAuthenticationProviderInterface $authenticationProvider)

No description

false|string|UserInterface
getClient(ConnectionInterface $connection)

No description

array|false
findByUsername(Topic $topic, string $username)

No description

array|false
getAll(Topic $topic, bool $anonymous = false)

No description

array|false
findByRoles(Topic $topic, array $roles)

No description

Details

at line 33
__construct(ClientStorageInterface $clientStorage, WebSocketAuthenticationProviderInterface $authenticationProvider)

Parameters

ClientStorageInterface $clientStorage
WebSocketAuthenticationProviderInterface $authenticationProvider

at line 43
false|string|UserInterface getClient(ConnectionInterface $connection)

Parameters

ConnectionInterface $connection

Return Value

false|string|UserInterface

at line 60
array|false findByUsername(Topic $topic, string $username)

Parameters

Topic $topic
string $username

Return Value

array|false

at line 81
array|false getAll(Topic $topic, bool $anonymous = false)

Parameters

Topic $topic
bool $anonymous

Return Value

array|false

at line 104
array|false findByRoles(Topic $topic, array $roles)

Parameters

Topic $topic
array $roles

Return Value

array|false