PHP Интерфейс Neos\Flow\Core\RequestHandlerInterface

Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
canHandleRequest ( ) : mixed Checks if the request handler can handle the current request.
getPriority ( ) : integer Returns the priority - how eager the handler is to actually handle the request. An integer > 0 means "I want to handle this request" where "100" is default. "0" means "I am a fallback solution".
handleRequest ( ) : void Handles a raw request

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

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

Checks if the request handler can handle the current request.
public canHandleRequest ( ) : mixed
Результат mixed TRUE or an integer > 0 if it can handle the request, otherwise FALSE or an integer < 0

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

Returns the priority - how eager the handler is to actually handle the request. An integer > 0 means "I want to handle this request" where "100" is default. "0" means "I am a fallback solution".
public getPriority ( ) : integer
Результат integer The priority of the request handler

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

Handles a raw request
public handleRequest ( ) : void
Результат void