\Heidelpay\Tests\PhpPaymentApi\Helper\ConstraintsArraysMatchConstraint

Summary

Methods
Properties
Constants
__construct()
matches()
toString()
No public properties found
No constants found
No protected methods found
$value
$strict
N/A
No private methods found
$count
$failureMessage
N/A

Properties

$value

$value : array

Type

array

$strict

$strict : boolean

Type

boolean

$count

$count : boolean

Type

boolean

$failureMessage

$failureMessage : string

Type

string

Methods

__construct()

__construct(array  $value, boolean  $count = false, boolean  $strict = false) 

Parameters

array $value
boolean $count
boolean $strict

Throws

\PHPUnit\Framework\Exception

matches()

matches(mixed  $other) : boolean

Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.

This method can be overridden to implement the evaluation algorithm.

Parameters

mixed $other

Value or object to evaluate.

Returns

boolean

toString()

toString() : string

Returns a string representation of the object.

Returns

string