public function getTemplate()
    {
        if (! $this->_template instanceof LibBaseTemplateAbstract) {
            //Make sure we have a template identifier
            if (! ($this->_template instanceof AnServiceIdentifier)) {
                $this->setTemplate($this->_template);
            }

            $config = array(
                'view' => $this
            );

            $this->_template = $this->getService($this->_template, $config);
        }

        return $this->_template;
    }
public function getTemplate()
    {
        if (! $this->_template instanceof LibBaseTemplateAbstract) {
            //Make sure we have a template identifier
            if (! ($this->_template instanceof AnServiceIdentifier)) {
                $this->setTemplate($this->_template);
            }

            $config = array(
                'view' => $this
            );

            $this->_template = $this->getService($this->_template, $config);
        }

        return $this->_template;
    }
public function getTemplate ( ) { if ( ! $ this -> _template instanceof LibBaseTemplateAbstract ) { //Make sure we have a template identifier if ( ! ( $ this -> _template instanceof AnServiceIdentifier ) ) { $ this -> setTemplate ( $ this -> _template ) ; } $ config = array ( 'view' => $ this ) ; $ this -> _template = $ this -> getService ( $ this -> _template , $ config ) ; } return $ this -> _template ; }
Get the identifier for the template with the same name.

@return AnServiceIdentifierInterface
Get the identifier for the template with the same name .