ErrorMessage annotation

Allows providing an error message to seed the Input specification for a given element. The content should be a string.

Annotation

 Methods

Receive and process the contents of an annotation

__construct(array $data) 
Inherited

inherited_from \Zend\Form\Annotation\AbstractStringAnnotation::__construct()

Parameters

$data

array

Exceptions

\Zend\Form\Exception\DomainException if a 'value' key is missing, or its value is not a string

Retrieve the message

getMessage() : null | string

Returns

nullstring

 Properties

 

$value

$value : string
Inherited

inherited_from \Zend\Form\Annotation\AbstractStringAnnotation::$$value