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;
    }