Message
final class Message
Constants
| TYPE_MISMATCH |
variables: {value: mixed, expected: string} |
| VALUE_OUT_OF_RANGE |
variables: {value: mixed, expected: string} |
| LENGTH_OUT_OF_RANGE |
variables: {value: mixed, length: int, expected: string} |
| PATTERN_MISMATCH |
variables: {value: string, pattern: string} |
| FAILED_ASSERTION |
variables: {value: mixed, assertion: string} |
| MISSING_ITEM |
no variables |
| UNEXPECTED_ITEM |
variables: {hint: string} |
| DEPRECATED |
no variables |
Properties
| string | $message | ||
| string | $code | ||
| string[] | $path | ||
| string[] | $variables |
Methods
__construct(string $message, string $code, array $path, array $variables = [])
No description
string
toString()
No description
Details
at line 56
__construct(string $message, string $code, array $path, array $variables = [])
No description
at line 65
string
toString()
No description
Traits
Strict class for better experience.