public function attach(ChainEventInterface $event, $priority = 0)
    {
        $this->queue->insert($event, $priority);
        return $this;
    }
public function attach(ChainEventInterface $event, $priority = 0)
    {
        $this->queue->insert($event, $priority);
        return $this;
    }
public function attach ( ChainEventInterface $ event , $ priority = 0 ) { $ this -> queue -> insert ( $ event , $ priority ) ; return $ this ; }
Insert an event into the queue

@param Proem\Filter\ChainEventInterface $event
@param int $priority
Insert an event into the queue