parent = array(); $this->blocks = array( 'content_class' => array($this, 'block_content_class'), 'content' => array($this, 'block_content'), ); } public function getParent(array $context) { $parent = "SensioDistributionBundle::Configurator/layout.html.twig"; if ($parent instanceof Twig_Template) { $name = $parent->getTemplateName(); $this->parent[$name] = $parent; $parent = $name; } elseif (!isset($this->parent[$parent])) { $this->parent[$parent] = $this->env->loadTemplate($parent); } return $this->parent[$parent]; } protected function doDisplay(array $context, array $blocks = array()) { $context = array_merge($this->env->getGlobals(), $context); $this->getParent($context)->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_content_class($context, array $blocks = array()) { echo "config_done"; } // line 4 public function block_content($context, array $blocks = array()) { // line 5 echo "

Well done!

"; // line 6 if ($this->getContext($context, 'is_writable')) { // line 7 echo "

Your distribution is configured!

"; } else { // line 9 echo "

Your distribution is almost configured but...

"; } // line 11 echo "

"; // line 13 if ($this->getContext($context, 'is_writable')) { // line 14 echo " Your parameters.ini has been overwritten with these parameters (in "; echo twig_escape_filter($this->env, $this->getContext($context, 'ini_path'), "html"); echo "): "; } else { // line 16 echo " Your parameters.ini file is not writeable! Here are the parameters you can copy and paste in "; echo twig_escape_filter($this->env, $this->getContext($context, 'ini_path'), "html"); echo ": "; } // line 18 echo "

"; // line 23 if ($this->getContext($context, 'welcome_url')) { // line 24 echo " "; } } public function getTemplateName() { return "SensioDistributionBundle::Configurator/final.html.twig"; } public function isTraitable() { return false; } }