Zend\View\Helper\Navigation::findHelper
Returns the helper matching $proxy
The helper must implement the interface {@link Zend\View\Helper\Navigation\Helper}.
Signature
public function findHelper(string
$proxy,
[bool
$strict = true] )
Parameters
$proxy
— string- helper name
$strict
— object- [optional] whether exceptions should be
thrown if something goes
wrong. Default is true.
Returns
- HelperInterface
- helper instance
Errors/Exceptions
-
RuntimeException
- if $strict is true and helper cannot be found