TYPO3  7.6
Public Member Functions | List of all members
RequestHandlerInterface Interface Reference
Inheritance diagram for RequestHandlerInterface:
CliRequestHandler

Public Member Functions

 handleRequest (InputInterface $input)
 
 canHandleRequest (InputInterface $input)
 
 getPriority ()
 

Detailed Description

The interface for a request handler for a console-based application

Definition at line 24 of file core/Classes/Console/RequestHandlerInterface.php.

Member Function Documentation

canHandleRequest ( InputInterface  $input)

Checks if the request handler can handle the given request.

Parameters
InputInterface$input
Returns
bool TRUE if it can handle the request, otherwise FALSE

Implemented in CliRequestHandler.

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".

Returns
int The priority of the request handler

Implemented in CliRequestHandler.

handleRequest ( InputInterface  $input)

Handles a CLI request

Parameters
InputInterface$input
Returns
NULL|OutputInterface

Implemented in CliRequestHandler.