TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Console\RequestHandlerInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\Console\RequestHandlerInterface:
TYPO3\CMS\Backend\Console\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 RequestHandlerInterface.php.

Member Function Documentation

◆ canHandleRequest()

TYPO3\CMS\Core\Console\RequestHandlerInterface::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 TYPO3\CMS\Backend\Console\CliRequestHandler.

◆ getPriority()

TYPO3\CMS\Core\Console\RequestHandlerInterface::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 TYPO3\CMS\Backend\Console\CliRequestHandler.

◆ handleRequest()

TYPO3\CMS\Core\Console\RequestHandlerInterface::handleRequest ( InputInterface  $input)

Handles a CLI request

Parameters
InputInterface$input
Returns
NULL|OutputInterface

Implemented in TYPO3\CMS\Backend\Console\CliRequestHandler.