Hint
API reference › Form Model › Attribute › Hint
Defines hint text for a form-model property.
Usage example:
#[Hint('Used for account recovery notifications.')]public string $email = '';Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$value readonly constructor | string | Hint text for the field. | Hint |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates field hint metadata. | Hint |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(string $value)Creates field hint metadata.
Parameters
| Parameter | Type | Description |
|---|---|---|
$value | string | Hint text for the field. |