PHP Класс Neos\Flow\Cli\SlaveRequestHandler

Наследование: implements Neos\Flow\Core\RequestHandlerInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$bootstrap Neos\Flow\Core\Bootstrap

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

Метод Описание
__construct ( Bootstrap $bootstrap ) Constructor
canHandleRequest ( ) : boolean This request handler can handle CLI requests.
getPriority ( ) : integer Returns the priority - how eager the handler is to actually handle the request.
handleRequest ( ) : void Creates an event loop which takes orders from the parent process and executes them in runtime mode.

Защищенные методы

Метод Описание
emitDispatchedCommandLineSlaveRequest ( ) : void Emits a signal that a CLI slave request was dispatched.
handleException ( Exception $exception ) : void Displays a human readable, partly beautified version of the given exception and stops the application, return a non-zero exit code.

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

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

Constructor
public __construct ( Bootstrap $bootstrap )
$bootstrap Neos\Flow\Core\Bootstrap

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

This request handler can handle CLI requests.
public canHandleRequest ( ) : boolean
Результат boolean If the request is a CLI request, TRUE otherwise FALSE

emitDispatchedCommandLineSlaveRequest() защищенный Метод

Emits a signal that a CLI slave request was dispatched.
protected emitDispatchedCommandLineSlaveRequest ( ) : void
Результат void

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

Returns the priority - how eager the handler is to actually handle the request.
public getPriority ( ) : integer
Результат integer The priority of the request handler.

handleException() защищенный Метод

Displays a human readable, partly beautified version of the given exception and stops the application, return a non-zero exit code.
protected handleException ( Exception $exception ) : void
$exception Exception
Результат void

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

Creates an event loop which takes orders from the parent process and executes them in runtime mode.
public handleRequest ( ) : void
Результат void

Описание свойств

$bootstrap защищенное свойство

protected Bootstrap,Neos\Flow\Core $bootstrap
Результат Neos\Flow\Core\Bootstrap