protected function getDispatcher(): IDispatcher
    {
        if ($this->dispatcher === null) {
            $this->dispatcher = new Dispatcher();
        }

        return $this->dispatcher;
    }
protected function getDispatcher(): IDispatcher
    {
        if ($this->dispatcher === null) {
            $this->dispatcher = new Dispatcher();
        }

        return $this->dispatcher;
    }
protected function getDispatcher ( ) : IDispatcher { if ( $ this -> dispatcher === null ) { $ this -> dispatcher = new Dispatcher ( ) ; } return $ this -> dispatcher ; }
Get the dispatcher

@return IDispatcher
Get the dispatcher