Fully Qualified Name: | Laminas\Form\Annotation\Flags |
Extends: | AbstractArrayAnnotation |
Flags annotation
Allows passing flags to the form factory. These flags are used to indicate metadata, and typically the priority (order) in which an element will be included.
The value should be an associative array.
Name | Description | Defined By |
---|---|---|
__construct() | Receive and process the contents of an annotation | AbstractArrayAnnotation |
getFlags() | Retrieve the flags | Flags |
Receive and process the contents of an annotation
Parameter Name | Type | Description |
---|---|---|
$data | array |
Returns:
Retrieve the flags
Returns: null|array