PHP Class Laravoole\Base

Show file Open project: acabin/laravoole Class Usage Examples

Protected Properties

Property Type Description
$app
$handler_config
$kernel
$pid_file
$root_dir
$server
$tmp_autoloader

Public Methods

Method Description
endResponse ( $response, $content )
init ( $pid_file, $root_dir, $handler_config, $wrapper_config )
onRequest ( $request, $response, $illuminate_request = false )
prepareKernel ( )
start ( )

Protected Methods

Method Description
dealWithPublic ( $request, $response )
dealWithRequest ( $request, $classname = IlluminateRequest::class )
getApp ( )

Private Methods

Method Description
dealWithResponse ( $response, $illuminate_response, $accept_gzip )

Method Details

dealWithPublic() protected method

protected dealWithPublic ( $request, $response )

dealWithRequest() protected method

protected dealWithRequest ( $request, $classname = IlluminateRequest::class )

endResponse() public method

public endResponse ( $response, $content )

getApp() protected method

protected getApp ( )

init() final public method

final public init ( $pid_file, $root_dir, $handler_config, $wrapper_config )

onRequest() public method

public onRequest ( $request, $response, $illuminate_request = false )

prepareKernel() public method

public prepareKernel ( )

start() public method

public start ( )

Property Details

$app protected property

protected $app

$handler_config protected property

protected $handler_config

$kernel protected property

protected $kernel

$pid_file protected property

protected $pid_file

$root_dir protected property

protected $root_dir

$server protected property

protected $server

$tmp_autoloader protected property

protected $tmp_autoloader