Gc\Module\AbstractModule::addPath PHP Method

addPath() public method

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