Zend\Navigation\AbstractContainer::__call
Magic overload: Proxy calls to finder methods
Examples of finder calls: <code> // METHOD // SAME AS $nav->findByLabel('foo'); // $nav->findOneBy('label', 'foo'); $nav->findOneByLabel('foo'); // $nav->findOneBy('label', 'foo'); $nav->findAllByClass('foo'); // $nav->findAllBy('class', 'foo'); </code>
Signature
public function __call(string
$method,
array
$arguments )
Parameters
$method
— string- method name
$arguments
— array- method arguments
Errors/Exceptions
-
BadMethodCallException
- if method does not exist