PHP Class PHPDaemon\Examples\ExampleSandbox

Author: Vasily Zorin ([email protected])
Inheritance: extends PHPDaemon\Core\AppInstance
Afficher le fichier Open project: kakserpom/phpdaemon

Méthodes publiques

Свойство Type Description
$counter

Méthodes publiques

Méthode 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 méthode

Creates Request.
public beginRequest ( $req, $upstream ) : ExampleSandboxRequest
Résultat ExampleSandboxRequest Request.

init() public méthode

Constructor.
public init ( ) : void
Résultat void

onReady() public méthode

Called when the worker is ready to go.
public onReady ( ) : void
Résultat void

onShutdown() public méthode

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

Property Details

$counter public_oe property

public $counter