PHP Class Imbo\EventManager\Event

Author: Christer Edvartsen ([email protected])
Inheritance: extends Symfony\Component\EventDispatcher\GenericEvent, implements Imbo\EventManager\EventInterface
Afficher le fichier Open project: imbo/imbo Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $arguments = [] ) Class constructor
getAccessControl ( )
getArgument ( string $key ) : mixed Get argument
getConfig ( )
getDatabase ( )
getHandler ( )
getManager ( )
getName ( ) : string Get the event name
getRequest ( )
getResponse ( )
getStorage ( )
hasArgument ( string $key ) : boolean See if the event has an argument
isPropagationStopped ( ) : boolean Check if propagation has been stopped
setArgument ( string $key, mixed $value ) : self Add argument
setArguments ( array $arguments = [] ) : self Set arguments
setName ( string $name ) : self Sets the event name
stopPropagation ( ) Stops the propagation of the event

Method Details

__construct() public méthode

Class constructor
public __construct ( array $arguments = [] )
$arguments array

getAccessControl() public méthode

public getAccessControl ( )

getArgument() public méthode

Get argument
public getArgument ( string $key ) : mixed
$key string
Résultat mixed

getConfig() public méthode

public getConfig ( )

getDatabase() public méthode

public getDatabase ( )

getHandler() public méthode

public getHandler ( )

getManager() public méthode

public getManager ( )

getName() public méthode

Get the event name
public getName ( ) : string
Résultat string

getRequest() public méthode

public getRequest ( )

getResponse() public méthode

public getResponse ( )

getStorage() public méthode

public getStorage ( )

hasArgument() public méthode

See if the event has an argument
public hasArgument ( string $key ) : boolean
$key string
Résultat boolean

isPropagationStopped() public méthode

Check if propagation has been stopped
public isPropagationStopped ( ) : boolean
Résultat boolean

setArgument() public méthode

Add argument
public setArgument ( string $key, mixed $value ) : self
$key string
$value mixed
Résultat self

setArguments() public méthode

Set arguments
public setArguments ( array $arguments = [] ) : self
$arguments array
Résultat self

setName() public méthode

Sets the event name
public setName ( string $name ) : self
$name string
Résultat self

stopPropagation() public méthode

Stops the propagation of the event
public stopPropagation ( )