Zend\Navigation\Page\AbstractPage::setOrder
Sets page order to use in parent container
Signature
public function setOrder([int
$order = null] )
Parameters
$order
— int- [optional] page order in container.
Default is null, which sets no
specific order.
Returns
- AbstractPage
- fluent interface, returns self
Errors/Exceptions
-
InvalidArgumentException
- if order is not integer or null