PHP Класс Neos\Neos\Service\Controller\AbstractServiceController

Наследование: extends Neos\Flow\Mvc\Controller\ActionController, use trait Neos\Neos\Controller\BackendUserTranslationTrait
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$supportedMediaTypes array

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
convertException ( Exception $exception ) : array

Описание методов

convertException() защищенный Метод

protected convertException ( Exception $exception ) : array
$exception Exception
Результат array

errorAction() публичный Метод

A preliminary error action for handling validation errors
public errorAction ( ) : void
Результат void

processRequest() публичный Метод

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
Результат void

Описание свойств

$supportedMediaTypes защищенное свойство

protected array $supportedMediaTypes
Результат array