PHP Class Thruway\Module\RouterModule

Inheritance: implements Thruway\Module\RouterModuleInterface
Datei anzeigen Open project: voryx/thruway

Protected Properties

Property Type Description
$loop React\EventLoop\LoopInterface
$router Thruway\Peer\RouterInterface

Public Methods

Method Description
getLoop ( ) : React\EventLoop\LoopInterface
getSubscribedEvents ( ) If people don't want to implement this
initModule ( Thruway\Peer\RouterInterface $router, React\EventLoop\LoopInterface $loop )

Method Details

getLoop() public method

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

getSubscribedEvents() public static method

If people don't want to implement this
public static getSubscribedEvents ( )

initModule() public method

public initModule ( Thruway\Peer\RouterInterface $router, React\EventLoop\LoopInterface $loop )
$router Thruway\Peer\RouterInterface
$loop React\EventLoop\LoopInterface

Property Details

$loop protected_oe property

protected LoopInterface,React\EventLoop $loop
return React\EventLoop\LoopInterface

$router protected_oe property

protected RouterInterface,Thruway\Peer $router
return Thruway\Peer\RouterInterface