Zend\Form\Annotation\ErrorMessage
ErrorMessage annotation
Allows providing an error message to seed the Input specification for a
given element. The content should be a string.
Synopsis
class ErrorMessage
extends AbstractStringAnnotation
{
- // Inherited members from AbstractStringAnnotation
- protected string $value;
- // methods
- public null|string getMessage()
- // Inherited methods from AbstractStringAnnotation
- public void __construct()
Hierarchy
Members
protected
- $value — string
Methods
public
- getMessage() — Retrieve the message