[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/vendor/symfony/event-dispatcher/ -> GenericEvent.php (summary)

(no description)

File Size: 175 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

GenericEvent:: (12 methods):

Class: GenericEvent  - X-Ref

Event encapsulation class.

Encapsulates events thus decoupling the observer from the subject they encapsulate.

__construct($subject = null, array $arguments = array()   X-Ref
Encapsulate an event with $subject and $args.

param: mixed $subject   The subject of the event, usually an object or a callable
param: array $arguments Arguments to store in the event

getSubject()   X-Ref
Getter for subject property.

return: mixed The observer subject

getArgument($key)   X-Ref
Get argument by key.

param: string $key Key
return: mixed Contents of array key

setArgument($key, $value)   X-Ref
Add argument to event.

param: string $key   Argument name
param: mixed  $value Value
return: $this

getArguments()   X-Ref
Getter for all arguments.

return: array

setArguments(array $args = array()   X-Ref
Set args property.

param: array $args Arguments
return: $this

hasArgument($key)   X-Ref
Has argument.

param: string $key Key of arguments array
return: bool

offsetGet($key)   X-Ref
ArrayAccess for argument getter.

param: string $key Array key
return: mixed

offsetSet($key, $value)   X-Ref
ArrayAccess for argument setter.

param: string $key   Array key to set
param: mixed  $value Value

offsetUnset($key)   X-Ref
ArrayAccess for unset argument.

param: string $key Array key

offsetExists($key)   X-Ref
ArrayAccess has argument.

param: string $key Array key
return: bool

getIterator()   X-Ref
IteratorAggregate for iterating over the object like an array.

return: \ArrayIterator

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1