public function attach($eventNameOrClass, $listenerName, $listenerMethod, $priority = 1)
    {
        $trigger = new Trigger($listenerName, $listenerMethod);
        $this->attachTrigger($trigger, $eventNameOrClass, $priority);

        return $this;
    }