protected function getTemplate(InputInterface $input)
    {
        $template = $this->getTemplateFactory()->get('twig');
        $template->setName($input->getOption('template'));

        return $template;
    }
protected function getTemplate(InputInterface $input)
    {
        $template = $this->getTemplateFactory()->get('twig');
        $template->setName($input->getOption('template'));

        return $template;
    }
protected function getTemplate ( InputInterface $ input ) { $ template = $ this -> getTemplateFactory ( ) -> get ( 'twig' ) ; $ template -> setName ( $ input -> getOption ( 'template' ) ) ; return $ template ; }
Returns a template object based off the human-readable template name.

@return TemplateInterface
Returns a template object based off the human - readable template name .