PHP Class eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\Exception

Inheritance: extends eZ\Publish\Core\REST\Common\Output\ValueObjectVisitor
Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Свойство Type Description
$debug boolean Is debug mode enabled?
$httpStatusCodes array Mapping of HTTP status codes to their respective error messages.
$translator Symfony\Component\Translation\TranslatorInterface

Méthodes publiques

Méthode Description
__construct ( boolean $debug = false, Symfony\Component\Translation\TranslatorInterface $translator = null ) Construct from debug flag.
visit ( Visitor $visitor, Generator $generator, Exception $data ) Visit struct returned by controllers.

Méthodes protégées

Méthode Description
getStatus ( ) : integer Returns HTTP status code.

Method Details

__construct() public méthode

Construct from debug flag.
public __construct ( boolean $debug = false, Symfony\Component\Translation\TranslatorInterface $translator = null )
$debug boolean
$translator Symfony\Component\Translation\TranslatorInterface

getStatus() protected méthode

Returns HTTP status code.
protected getStatus ( ) : integer
Résultat integer

visit() public méthode

Visit struct returned by controllers.
public visit ( Visitor $visitor, Generator $generator, Exception $data )
$visitor eZ\Publish\Core\REST\Common\Output\Visitor
$generator eZ\Publish\Core\REST\Common\Output\Generator
$data Exception

Property Details

$debug protected_oe property

Is debug mode enabled?
protected bool $debug
Résultat boolean

$httpStatusCodes protected_oe property

Mapping of HTTP status codes to their respective error messages.
protected array $httpStatusCodes
Résultat array

$translator protected_oe property

protected TranslatorInterface,Symfony\Component\Translation $translator
Résultat Symfony\Component\Translation\TranslatorInterface