PHP Class Neos\Neos\Service\Controller\AbstractServiceController

Inheritance: extends Neos\Flow\Mvc\Controller\ActionController, use trait Neos\Neos\Controller\BackendUserTranslationTrait
Show file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$supportedMediaTypes array

Public Methods

Method Description
errorAction ( ) : void A preliminary error action for handling validation errors
processRequest ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response ) : void Catch exceptions while processing an exception and respond to JSON format TODO: This is an explicit exception handling that will be replaced by format-enabled exception handlers.

Protected Methods

Method Description
convertException ( Exception $exception ) : array

Method Details

convertException() protected method

protected convertException ( Exception $exception ) : array
$exception Exception
return array

errorAction() public method

A preliminary error action for handling validation errors
public errorAction ( ) : void
return void

processRequest() public method

Catch exceptions while processing an exception and respond to JSON format TODO: This is an explicit exception handling that will be replaced by format-enabled exception handlers.
public processRequest ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response ) : void
$request Neos\Flow\Mvc\RequestInterface The request object
$response Neos\Flow\Mvc\ResponseInterface The response, modified by this handler
return void

Property Details

$supportedMediaTypes protected property

protected array $supportedMediaTypes
return array