Gumdrop\Engine::renderPagesTwigEnvironments PHP Метод

renderPagesTwigEnvironments() публичный Метод

    public function renderPagesTwigEnvironments()
    {
        foreach ($this->PageCollection as $key => $Page) {
            $this->PageCollection[$key]->setLayoutTwigEnvironment($this->LayoutTwigEnvironment);
            $this->PageCollection[$key]->setPageTwigEnvironment($this->PageTwigEnvironment);
            $this->PageCollection[$key]->renderPageTwigEnvironment();
            $this->PageCollection[$key]->renderLayoutTwigEnvironment();
        }
    }