PHP 클래스 eZ\Bundle\EzPublishCoreBundle\EventListener\ExceptionListener

상속: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Translation\TranslatorInterface $translator )
getSubscribedEvents ( )
onKernelException ( GetResponseForExceptionEvent $event )

비공개 메소드들

메소드 설명
getTranslatedMessage ( Exception $exception ) : string Translates the exception message if it is translatable.

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\Translation\TranslatorInterface $translator )
$translator Symfony\Component\Translation\TranslatorInterface

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )

onKernelException() 공개 메소드

public onKernelException ( GetResponseForExceptionEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent