Helper for retrieving the base path.
Methods
Returns site's base path, or file with base path prepended.
__invoke(string | null $file) : string
$file is appended to the base path for simplicity.
Parameters
$file
stringnull
Exceptions
Returns
string
Set the base path.
setBasePath(string $basePath) : \Zend\View\Helper\self
Parameters
$basePath
string
Returns
\Zend\View\Helper\self
Set the View object
setView(\Zend\View\Renderer\RendererInterface $view) : \Zend\View\Helper\AbstractHelper
Inherited
inherited_from |
\Zend\View\Helper\AbstractHelper::setView() |
Parameters
Returns
Properties
Base path
$basePath : string