PHP Class PHPDaemon\Clients\Redis\Examples\Simple

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

Public Properties

Property Type Description
$redis Pool

Public Methods

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

Method Details

beginRequest() public method

Creates Request.
public beginRequest ( $req, $upstream ) : ExampleWithRedisRequest
$req object Request.
$upstream IRequestUpstream Upstream application instance.
return ExampleWithRedisRequest Request.

onReady() public method

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

Property Details

$redis public_oe property

public Pool $redis
return Pool