addPath() публичный Метод

Add path in Zend\View\Resolver\TemplatePathStack
public addPath ( string $dir ) : AbstractDatatype
$dir string Directory
Результат AbstractDatatype
Пример #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testRender()
 {
     $this->object->addPath(__DIR__);
     $this->assertEquals('String' . PHP_EOL, $this->object->render('_files/template.phtml'));
 }