Goetas\Twital\EventDispatcher\TemplateEvent::getTemplate PHP Method

getTemplate() public method

public getTemplate ( ) : Template
return Goetas\Twital\Template
    public function getTemplate()
    {
        return $this->template;
    }

Usage Example

Beispiel #1
0
 public function testBaseSetter()
 {
     $ist = new TemplateEvent($this->twital, $this->template);
     $template = $this->getTemplateMock();
     $ist->setTemplate($template);
     $this->assertSame($template, $ist->getTemplate());
 }
All Usage Examples Of Goetas\Twital\EventDispatcher\TemplateEvent::getTemplate