PHP Interface Neos\Flow\Core\RequestHandlerInterface

Afficher le fichier Open project: neos/flow-development-collection Interface Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

canHandleRequest() public méthode

Checks if the request handler can handle the current request.
public canHandleRequest ( ) : mixed
Résultat mixed TRUE or an integer > 0 if it can handle the request, otherwise FALSE or an integer < 0

getPriority() public méthode

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
Résultat integer The priority of the request handler

handleRequest() public méthode

Handles a raw request
public handleRequest ( ) : void
Résultat void