Message
final class Message
Constants
| TypeMismatch |
variables: {value: mixed, expected: string} |
| ValueOutOfRange |
variables: {value: mixed, expected: string} |
| LengthOutOfRange |
variables: {value: mixed, length: int, expected: string} |
| PatternMismatch |
variables: {value: string, pattern: string} |
| FailedAssertion |
variables: {value: mixed, assertion: string} |
| MissingItem |
no variables |
| UnexpectedItem |
variables: {hint: string} |
| Deprecated |
no variables |
| TYPE_MISMATCH |
Deprecated |
| VALUE_OUT_OF_RANGE |
|
| LENGTH_OUT_OF_RANGE |
|
| PATTERN_MISMATCH |
|
| FAILED_ASSERTION |
|
| MISSING_ITEM |
|
| UNEXPECTED_ITEM |
|
| DEPRECATED |
|
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 66
__construct(string $message, string $code, array $path, array $variables = [])
No description
at line 75
string
toString()
No description
Traits
SmartObject