PHP Интерфейс PHPPM\Bridges\BridgeInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
bootstrap ( string $appBootstrap, $appenv, boolean $debug ) Bootstrap an application implementing the HttpKernelInterface.
getStaticDirectory ( ) : string Returns the repository which is used as root for the static file serving.
onRequest ( React\Http\Request $request, PHPPM\React\HttpResponse $response ) Handle a request using a HttpKernelInterface implementing application.

Описание методов

bootstrap() публичный Метод

Bootstrap an application implementing the HttpKernelInterface.
См. также: http://stackphp.com
public bootstrap ( string $appBootstrap, $appenv, boolean $debug )
$appBootstrap string The name of the class used to bootstrap the application
$debug boolean If debug is enabled

getStaticDirectory() публичный Метод

Returns the repository which is used as root for the static file serving.
public getStaticDirectory ( ) : string
Результат string

onRequest() публичный Метод

Handle a request using a HttpKernelInterface implementing application.
public onRequest ( React\Http\Request $request, PHPPM\React\HttpResponse $response )
$request React\Http\Request
$response PHPPM\React\HttpResponse