Zend\View\Helper\BasePath
Helper for retrieving the base path.
Synopsis
class BasePath
extends AbstractHelper
{
- // members
- protected string $basePath;
- // Inherited members from AbstractHelper
- protected RendererInterface $view;
- // methods
- public string __invoke()
- public self setBasePath()
- // Inherited methods from AbstractHelper
- public AbstractHelper setView()
- public null|Renderer getView()
Hierarchy
Extends
Members
protected
- $basePath
—
string
Base path - $view
—
Zend\View\Renderer\RendererInterface
View object instance
Methods
public
- __invoke() — Returns site's base path, or file with base path prepended.
- setBasePath() — Set the base path.