Class

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

class Exception extends ValueObjectVisitor

Exception value object visitor.

Methods

visit(Visitor $visitor, Generator $generator, Exception $data)

Visit struct returned by controllers.

setRouter(RouterInterface $router)

from ValueObjectVisitor
setTemplateRouter(RouterInterface $templateRouter)

from ValueObjectVisitor
setRequestParser(RequestParser $requestParser)

from ValueObjectVisitor
__construct(bool $debug = false, TranslatorInterface $translator = null)

Construct from debug flag.

Details

at line 106
public visit(Visitor $visitor, Generator $generator, Exception $data)

Visit struct returned by controllers.

Parameters

Visitor $visitor
Generator $generator
Exception $data

in ValueObjectVisitor at line 50
public setRouter(RouterInterface $router)

Parameters

RouterInterface $router

in ValueObjectVisitor at line 55
public setTemplateRouter(RouterInterface $templateRouter)

Parameters

RouterInterface $templateRouter

in ValueObjectVisitor at line 60
public setRequestParser(RequestParser $requestParser)

Parameters

RequestParser $requestParser

at line 83
public __construct(bool $debug = false, TranslatorInterface $translator = null)

Construct from debug flag.

Parameters

bool $debug
TranslatorInterface $translator