Zend\Tag\Item::setWeight
Set the weight
Signature
public function setWeight(float
$weight )
Parameters
$weight
— float
Returns
- Item
Errors/Exceptions
-
InvalidArgumentException
- When weight is not numeric