Zend\Tag\Item::__construct
Create a new tag according to the options
Signature
public function __construct(array|Traversable
$options )
Parameters
$options
— object
Errors/Exceptions
-
InvalidArgumentException
- When invalid options are provided
-
InvalidArgumentException
- When title was not set
-
InvalidArgumentException
- When weight was not set