PHP Class PHPDaemon\Examples\ExampleWithMySQL

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

Public Properties

Property Type Description
$sql

Public Methods

Method Description
beginRequest ( $req, $upstream ) : ExampleWithMySQLRequest Creates Request.
onReady ( ) : void Called when the worker is ready to go.

Method Details

beginRequest() public method

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

onReady() public method

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

Property Details

$sql public_oe property

public $sql