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

getTemplate() public method

public getTemplate ( ) : string
return string
    public function getTemplate()
    {
        return $this->template;
    }

Usage Example

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