public function triggered($eventName = null, $sort = true)
    {
        if ($eventName === null) {
            if ($sort) {
                arsort($this->_log, SORT_NATURAL);
            }

            return $this->_log;
        }
        if (isset($this->_log[$eventName])) {
            return $this->_log[$eventName];
        }

        return 0;
    }