Gc\Module\AbstractModule::addPath PHP 메소드

addPath() 공개 메소드

Add path in Zend\View\Resolver\TemplatePathStack
public addPath ( string $dir ) : AbstractModule
$dir string Directory
리턴 AbstractModule
    public function addPath($dir)
    {
        if (empty($this->renderer)) {
            $this->renderer = new Renderer();
        }
        $this->renderer->addPath($dir);
        return $this;
    }