class SeeInOrder extends Constraint (View source)

Properties

protected string $content

The string under validation.

protected string $failedValue

The last value that failed to pass validation.

Methods

void
__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

void __construct(string $content)

Create a new constraint instance.

Parameters

string $content

Return Value

void

bool matches(array $values)

Determine if the rule passes validation.

Parameters

array $values

Return Value

bool

string failureDescription(array $values)

Get the description of the failure.

Parameters

array $values

Return Value

string

string toString()

Get a string representation of the object.

Return Value

string