public function dispatch(array $events)
    {
        foreach($events as $event)
        {
            $eventName = $this->getEventName($event);

            $this->event->fire($eventName, $event);

            $this->log->info("{$eventName} was fired.");
        }
    }
public function dispatch(array $events)
    {
        foreach($events as $event)
        {
            $eventName = $this->getEventName($event);

            $this->event->fire($eventName, $event);

            $this->log->info("{$eventName} was fired.");
        }
    }
public function dispatch ( array $ events ) { foreach ( $ events as $ event ) { $ eventName = $ this -> getEventName ( $ event ) ; $ this -> event -> fire ( $ eventName , $ event ) ; $ this -> log -> info ( "{$eventName} was fired." ) ; } }
Dispatch all raised events.

@param array $events
Dispatch all raised events .