final class Parameters implements ParametersRule (View source)

internal  This class is not covered by the backward compatibility promise for PHPUnit
 

Methods

__construct(array $parameters)

No description

void
apply(Invocation $invocation)

No description

void
verify()

Checks if the invocation $invocation matches the current rules. If it does the rule will get the invoked() method called which should check if an expectation is met.

void
useAssertionCount(bool $useAssertionCount)

No description

Details

__construct(array $parameters)

No description

Parameters

array $parameters

Exceptions

Exception

void apply(Invocation $invocation)

No description

Parameters

Invocation $invocation

Return Value

void

Exceptions

Exception

void verify()

Checks if the invocation $invocation matches the current rules. If it does the rule will get the invoked() method called which should check if an expectation is met.

Return Value

void

Exceptions

ExpectationFailedException

void useAssertionCount(bool $useAssertionCount)

No description

Parameters

bool $useAssertionCount

Return Value

void