Zend\Navigation\Page\AbstractPage::set
Sets the given property
If the given property is native (id, class, title, etc), the matching set method will be used. Otherwise, it will be set as a custom property.
Signature
public function set(string
$property,
mixed
$value )
Parameters
$property
— string- property name
$value
— mixed- value to set
Returns
- AbstractPage
- fluent interface, returns self
Errors/Exceptions
-
InvalidArgumentException
- if property name is invalid