PHP Class PHPDaemon\Examples\ExampleSandbox

Author: Vasily Zorin ([email protected])
Inheritance: extends PHPDaemon\Core\AppInstance
ファイルを表示 Open project: kakserpom/phpdaemon

Public Properties

Property Type Description
$counter

Public Methods

Method Description
beginRequest ( $req, $upstream ) : ExampleSandboxRequest Creates Request.
init ( ) : void Constructor.
onReady ( ) : void Called when the worker is ready to go.
onShutdown ( ) : boolean Called when application instance is going to shutdown.

Method Details

beginRequest() public method

Creates Request.
public beginRequest ( $req, $upstream ) : ExampleSandboxRequest
return ExampleSandboxRequest Request.

init() public method

Constructor.
public init ( ) : void
return void

onReady() public method

Called when the worker is ready to go.
public onReady ( ) : void
return void

onShutdown() public method

Called when application instance is going to shutdown.
public onShutdown ( ) : boolean
return boolean Ready to shutdown?

Property Details

$counter public_oe property

public $counter