Skip to content
PHP Ecosystem
Explore

Hint

final readonly classUIAwesome\FormModel\Attribute\Hint
Sourcesrc/Attribute/Hint.php

Defines hint text for a form-model property.

Usage example:

#[Hint('Used for account recovery notifications.')]
public string $email = '';
PropertyTypeDescriptionDefined by
$value readonly constructorstringHint text for the field.Hint
MethodDescriptionDefined by
__construct()Creates field hint metadata.Hint
public function __construct(string $value)

Creates field hint metadata.

Parameters

ParameterTypeDescription
$valuestringHint text for the field.