SeeInHtml
class SeeInHtml extends Constraint
Properties
| protected string|null | $failedValue | The last value that failed to pass validation. |
Methods
__construct(string $content, bool $ordered = false, bool $negate = false)
Create a new constraint instance.
bool
matches(array $values)
Determine if the rule passes validation.
string
failureDescription(array $values)
Get the description of the failure.
string
normalize(string $value)
Normalize the given value.
string
toString()
Get a string representation of the object.
Details
at line 20
__construct(string $content, bool $ordered = false, bool $negate = false)
Create a new constraint instance.
at line 32
bool
matches(array $values)
Determine if the rule passes validation.
at line 82
string
failureDescription(array $values)
Get the description of the failure.
at line 110
protected string
normalize(string $value)
Normalize the given value.
at line 128
string
toString()
Get a string representation of the object.