protected function getLatteService()
    {
        $builder = $this->getContainerBuilder();

        return $builder->hasDefinition('nette.latteFactory')
            ? $builder->getDefinition('nette.latteFactory')
            : $builder->getDefinition('nette.latte');
    }
protected function getLatteService()
    {
        $builder = $this->getContainerBuilder();

        return $builder->hasDefinition('nette.latteFactory')
            ? $builder->getDefinition('nette.latteFactory')
            : $builder->getDefinition('nette.latte');
    }
protected function getLatteService ( ) { $ builder = $ this -> getContainerBuilder ( ) ; return $ builder -> hasDefinition ( 'nette.latteFactory' ) ? $ builder -> getDefinition ( 'nette.latteFactory' ) : $ builder -> getDefinition ( 'nette.latte' ) ; }
Get Latte service definition
@return \Nette\DI\ServiceDefinition
Get Latte service definition