Logidav Docs

ExceptionSubscriber implements EventSubscriberInterface

Class ExceptionSubscriber

Tags
copyright

Axelites Team

Table of Contents

Interfaces

EventSubscriberInterface

Properties

$container  : ContainerInterface

Methods

__construct()  : mixed
ExceptionSubscriber constructor.
getSubscribedEvents()  : array<string|int, mixed>
isAjax()  : bool
Check whether current request is ajax
logConsoleException()  : mixed
logException()  : mixed
notifyConsoleException()  : mixed
notifyException()  : int
processException()  : void
Processing exception and send it to view
setTimeZone()  : mixed
getControllerAndMethod()  : array<string|int, mixed>
Get reflectionClass for current controller
handleNoneXmlHttpExceptions()  : mixed
handleNotFoundException()  : mixed
handleUnauthorizedAccessException()  : mixed
notifyDevelopmentTeam()  : mixed
Notifying Axelites team about new bug

Properties

Methods

__construct()

ExceptionSubscriber constructor.

public __construct(ContainerInterface $container) : mixed
Parameters
$container : ContainerInterface

getSubscribedEvents()

public static getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>

isAjax()

Check whether current request is ajax

public isAjax() : bool
Return values
bool

logConsoleException()

public logConsoleException(ConsoleErrorEvent $event) : mixed
Parameters
$event : ConsoleErrorEvent

logException()

public logException(GetResponseForExceptionEvent $event) : mixed
Parameters
$event : GetResponseForExceptionEvent

notifyConsoleException()

public notifyConsoleException(ConsoleErrorEvent $event) : mixed
Parameters
$event : ConsoleErrorEvent

notifyException()

public notifyException(GetResponseForExceptionEvent $event) : int
Parameters
$event : GetResponseForExceptionEvent
Return values
int

processException()

Processing exception and send it to view

public processException(GetResponseForExceptionEvent $event) : void
Parameters
$event : GetResponseForExceptionEvent

setTimeZone()

public setTimeZone(ConsoleCommandEvent $event) : mixed
Parameters
$event : ConsoleCommandEvent

getControllerAndMethod()

Get reflectionClass for current controller

private getControllerAndMethod() : array<string|int, mixed>
Tags
throws
ReflectionException
Return values
array<string|int, mixed>

handleNoneXmlHttpExceptions()

private handleNoneXmlHttpExceptions(GetResponseForExceptionEvent $event) : mixed
Parameters
$event : GetResponseForExceptionEvent

handleNotFoundException()

private handleNotFoundException(mixed $exception, mixed $event) : mixed
Parameters
$exception : mixed
$event : mixed

handleUnauthorizedAccessException()

private handleUnauthorizedAccessException(mixed $exception, mixed $event) : mixed
Parameters
$exception : mixed
$event : mixed

notifyDevelopmentTeam()

Notifying Axelites team about new bug

private notifyDevelopmentTeam(mixed $msg[, null $url = null ][, string $subject = 'New Bug in logidav' ]) : mixed
Parameters
$msg : mixed
$url : null = null
$subject : string = 'New Bug in logidav'

        
On this page

Search results