class Illuminate / Testing / Constraints / SeeInOrder
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

SeeInOrder

Extends

    PHPUnit\...\Constraint

Properties

protected

$content string

The string under validation.

Default: null
protected

$failedValue string

The last value that failed to pass validation.

Default: null

Methods

public

__construct ( $content ) : void

Create a new constraint instance.

Parameters

  • $content string
public

matches ( $values ) : bool

Determine if the rule passes validation.

Parameters

  • $values array
public

failureDescription ( $values ) : string

Get the description of the failure.

Parameters

  • $values array
public

toString ( ) : string

Get a string representation of the object.