Goetas\Twital\EventDispatcher\SourceEvent::getTemplate PHP 메소드

getTemplate() 공개 메소드

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

Usage Example

예제 #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