PHP Interface Thruway\Module\RouterModuleInterface

Inheritance: extends Thruway\Event\EventSubscriberInterface
Datei anzeigen Open project: voryx/thruway Interface Usage Examples

Public Methods

Method Description
getLoop ( ) : React\EventLoop\LoopInterface
initModule ( Thruway\Peer\RouterInterface $router, React\EventLoop\LoopInterface $loop ) Called by the router when it is added

Method Details

getLoop() public method

public getLoop ( ) : React\EventLoop\LoopInterface
return React\EventLoop\LoopInterface

initModule() public method

Called by the router when it is added
public initModule ( Thruway\Peer\RouterInterface $router, React\EventLoop\LoopInterface $loop )
$router Thruway\Peer\RouterInterface
$loop React\EventLoop\LoopInterface