protected function getTemplateManager()
    {
        if (null === $this->templateManager) {
            $this->templateManager = new TemplateManager($this->profiler, $this->twig, $this->templates);
        }

        return $this->templateManager;
    }
protected function getTemplateManager()
    {
        if (null === $this->templateManager) {
            $this->templateManager = new TemplateManager($this->profiler, $this->twig, $this->templates);
        }

        return $this->templateManager;
    }
protected function getTemplateManager ( ) { if ( null === $ this -> templateManager ) { $ this -> templateManager = new TemplateManager ( $ this -> profiler , $ this -> twig , $ this -> templates ) ; } return $ this -> templateManager ; }
Gets the Template Manager.

@return TemplateManager The Template Manager
Gets the Template Manager .