PHP Class Newscoop\EventDispatcher\Events\GenericEvent

Provides wrapper methods for symfony's GenericEvent.
Inheritance: extends Symfony\Component\EventDispatcher\GenericEvent
Show file Open project: sourcefabric/newscoop Class Usage Examples

Public Methods

Method Description
__construct ( Object $subject = null, array $arguments = [] ) Construct GenericEvent object.

Method Details

__construct() public method

Construct GenericEvent object.
public __construct ( Object $subject = null, array $arguments = [] )
$subject Object The subject of the event
$arguments array The arguments passed to event listener.