Required annotation
Use this annotation to specify the value of the "required" flag for a given input. Since the flag defaults to "true", this will typically be used to "unset" the flag (e.g., "@Annotation\Required(false)"). Any boolean value understood by \Zend\Filter\Boolean is allowed as the content.
Annotation |
---|
__construct(array $data)
array
getRequired() : bool
bool
$required : bool