public function getDispatcher()
    {
        if (is_null($this->_dispatcher)) {
            $this->setDispatcher(new Dispatcher(['application' => $this]));
        }
        return $this->_dispatcher;
    }