public function dispatchPostInit()
    {
        if (!$this->postInitRun && $this->context) {
            $this->postInitRun = true;
            $this->dispatcher->dispatch(SiteEvents::EVENT_POST_INIT, new SiteEvent($this->context));
        }
    }