public function listenDispatchEvents(Listener\Dispatch $listener)
    {
        $this->di
                ->get('eventsManager')
                ->attach('dispatch', $listener, PHP_INT_MAX);
        return $this;
    }