PHP 클래스 eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\Exception

상속: extends eZ\Publish\Core\REST\Common\Output\ValueObjectVisitor
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$debug boolean Is debug mode enabled?
$httpStatusCodes array Mapping of HTTP status codes to their respective error messages.
$translator Symfony\Component\Translation\TranslatorInterface

공개 메소드들

메소드 설명
__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.

보호된 메소드들

메소드 설명
getStatus ( ) : integer Returns HTTP status code.

메소드 상세

__construct() 공개 메소드

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

getStatus() 보호된 메소드

Returns HTTP status code.
protected getStatus ( ) : integer
리턴 integer

visit() 공개 메소드

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

프로퍼티 상세

$debug 보호되어 있는 프로퍼티

Is debug mode enabled?
protected bool $debug
리턴 boolean

$httpStatusCodes 보호되어 있는 프로퍼티

Mapping of HTTP status codes to their respective error messages.
protected array $httpStatusCodes
리턴 array

$translator 보호되어 있는 프로퍼티

protected TranslatorInterface,Symfony\Component\Translation $translator
리턴 Symfony\Component\Translation\TranslatorInterface