PHP Interface Neos\Flow\Core\RequestHandlerInterface

Datei anzeigen Open project: neos/flow-development-collection Interface Usage Examples

Public Methods

Method 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 method

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

getPriority() public method

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
return integer The priority of the request handler

handleRequest() public method

Handles a raw request
public handleRequest ( ) : void
return void