Zend\Navigation\Page\AbstractPage::setTarget
Sets page target
Signature
public function setTarget([string|null
$target = null] )
Parameters
$target
— object- [optional] target to set. Default is
null, which sets no target.
Returns
- AbstractPage
- fluent interface, returns self
Errors/Exceptions
-
InvalidArgumentException
- if target is not string or null