public function render(AbstractContainer $container)
    {
        $template = $container->getTemplateKey();

        return $this->templatesManager->renderTemplate($template, array(
            'layoutRenderer' => $this,
            'container' => $container
        ));
    }