SeeInHtml
class SeeInHtml extends Constraint (View source)
Properties
| protected string | $content | The string under validation. |
|
| protected bool | $ordered | Indicates the values must appear in order. |
|
| protected bool | $negate | Indicates whether to negate the assertion. |
|
| protected string | $failedValue | The last value that failed to pass validation. |
Methods
Create a new constraint instance.
Determine if the rule passes validation.
Get the description of the failure.
Normalize the given value.
Get a string representation of the object.
Details
__construct(string $content, $ordered = false, $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.
protected string|null
normalize(string $value)
Normalize the given value.
string
toString()
Get a string representation of the object.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.