The manual's example shows how to set the basePath only for some specific viewModel
:
$this->getHelper('basePath')->setBasePath()
But I want to set it somewhere in one place and then it is the same for any viewModel
I create in any Controller. How can I do it?
view_manager
config has to look like and there is no such a keybase_path
zf2.readthedocs.org/en/latest/modules/…. Where is it possible to see all possible keys forview_manager
and other services? – Cianca