com\setasign\SetaFramework\EventManager\Events

ErrorEvent Class ErrorEvent

File: /SetaFramework/src/EventManager/Events/ErrorEvent.php

Class hierarchy

Implements

Summary

Properties

$cancelable

protected bool Event::$cancelable

$canceled

protected bool Event::$canceled = false

$error

$extraParams

protected array Event::$extraParams

$name

protected string Event::$name

Methods

__construct()

public ErrorEvent::__construct (
string $name,
\Throwable $error,
bool $cancelable = false,
array $extraParams = array ( )
)
Parameters
$name : string
 
$error : \Throwable
 
$cancelable : bool
 
$extraParams : array
 

getError()

public ErrorEvent::getError (
void
): \Throwable

getExtraParams()

public Event::getExtraParams (
void
): array

getName()

public Event::getName (
void
): string

isCanceled()

public Event::isCanceled (
void
): bool

setCanceled()

public Event::setCanceled (
void
): self

Cancels the event. The other listeners will be called.