Documentation

EventListener extends Component
in package
implements IEventListener

AbstractYes
Tags
author

Ramone Burrell ramone@ramoneburrell.com

version
1.0.0
since

Version 0.1.0

Table of Contents

Interfaces

IEventListener

Properties

$enabled  : bool
$name  : string
$hashCode  : int
$hashCounter  : int

Methods

__call()  : mixed
__callStatic()  : mixed
__construct()  : mixed
__destruct()  : mixed
__get()  : mixed
extends()  : bool
getName()  : string
getReflection()  : ReflectionClass
handle()  : mixed
Handles and event by calling a member method that matches the event's name
isEnabled()  : bool
Determines whether or not this event listener is enabled
init()  : mixed

Properties

Methods

__callStatic()

public static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
$method : mixed
$arguments : array<string|int, mixed>

__get()

public __get(string $property) : mixed
Parameters
$property : string

extends()

public extends(ReflectionClass $reflector) : bool
Parameters
$reflector : ReflectionClass
Return values
bool

getReflection()

public getReflection() : ReflectionClass
Return values
ReflectionClass

handle()

Handles and event by calling a member method that matches the event's name

public handle(IEvent $event) : mixed
Parameters
$event : IEvent
Tags
see
IEventListener::handler()

        
On this page

Search results