class ServerPushHandlerRegistry

Class ServerPushHandlerRegistry

Properties

protected array $pushHandlers

Methods

__construct()

ServerPushHandlerRegistry constructor.

addPushHandler(ServerPushHandlerInterface $handler, string $name)

No description

getPushHandler(string $name)

No description

Details

at line 17
__construct()

ServerPushHandlerRegistry constructor.

at line 26
addPushHandler(ServerPushHandlerInterface $handler, string $name)

Parameters

ServerPushHandlerInterface $handler
string $name

at line 36
ServerPushHandlerInterface getPushHandler(string $name)

Parameters

string $name

Return Value

ServerPushHandlerInterface

at line 44
ServerPushHandlerInterface[] getPushers()