protected function _fireEvent($name, $params) {
        if (is_null($this->_eventDispatcher)) {
            return;
        }
        $event = new Events\DbEvent($params);
        $this->_eventDispatcher->dispatch($name, $event);
    }
protected function _fireEvent($name, $params) {
        if (is_null($this->_eventDispatcher)) {
            return;
        }
        $event = new Events\DbEvent($params);
        $this->_eventDispatcher->dispatch($name, $event);
    }
protected function _fireEvent ( $ name , $ params ) { if ( is_null ( $ this -> _eventDispatcher ) ) { return ; } $ event = new Events \ DbEvent ( $ params ) ; $ this -> _eventDispatcher -> dispatch ( $ name , $ event ) ; }
Function to report events to the dispatcher

@param string $name   A name of the event to fire
@param array  $params Event parameters

@return void
Function to report events to the dispatcher