protected function getEventPriority($eventName)
    {
        $suffix = $this->getEventSuffix($eventName);

        if ($suffix === static::UPDATE) {
            return 9999;
        } elseif ($suffix === static::INSERT) {
            return 9998;
        } elseif ($suffix === static::DELETE) {
            return 9997;
        }

        return parent::getEventPriority($eventName);
    }
protected function getEventPriority($eventName)
    {
        $suffix = $this->getEventSuffix($eventName);

        if ($suffix === static::UPDATE) {
            return 9999;
        } elseif ($suffix === static::INSERT) {
            return 9998;
        } elseif ($suffix === static::DELETE) {
            return 9997;
        }

        return parent::getEventPriority($eventName);
    }
protected function getEventPriority ( $ eventName ) { $ suffix = $ this -> getEventSuffix ( $ eventName ) ; if ( $ suffix === static :: UPDATE ) { return 9999 ; } elseif ( $ suffix === static :: INSERT ) { return 9998 ; } elseif ( $ suffix === static :: DELETE ) { return 9997 ; } return parent :: getEventPriority ( $ eventName ) ; }
Returns the event priority.

@param string $eventName

@return int
Returns the event priority .