class SeeInOrder extends Constraint

Properties

protected string|null $failedValue

The last value that failed to pass validation.

Methods

__construct(string $content)

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
toString()

Get a string representation of the object.

Details

at line 22
__construct(string $content)

Create a new constraint instance.

Parameters

string $content

The string under validation

at line 32
bool matches(array $values)

Determine if the rule passes validation.

Parameters

array $values

Return Value

bool

at line 64
string failureDescription(array $values)

Get the description of the failure.

Parameters

array $values

Return Value

string

at line 76
string toString()

Get a string representation of the object.

Return Value

string