class Illuminate / Testing / Constraints / SeeInOrder
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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.