W3cubDocs

/Laravel 8

SeeInOrder

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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Testing/Constraints/SeeInOrder.html