Zend\Navigation\Page\AbstractPage::setOptions
Sets page properties using options from an associative array
Each key in the array corresponds to the according set*() method, and each word is separated by underscores, e.g. the option 'target' corresponds to setTarget(), and the option 'reset_params' corresponds to the method setResetParams().
Signature
public function setOptions(array
$options )
Parameters
$options
— array- associative array of options to set
Returns
- AbstractPage
- fluent interface, returns self
Errors/Exceptions
-
InvalidArgumentException
- if invalid options are given