InvocationHandler
final class InvocationHandler (View source)
| internal | This class is not covered by the backward compatibility promise for PHPUnit |
Methods
__construct(array $configurableMethods, bool $returnValueGeneration)
No description
bool
hasMatchers()
No description
Matcher|null
lookupMatcher(string $id)
Looks up the match builder with identification $id and returns it.
void
registerMatcher(string $id, Matcher $matcher)
Registers a matcher with the identification $id. The matcher can later be looked up using lookupMatcher() to figure out if it has been invoked.
mixed
void
verify()
No description
Details
__construct(array $configurableMethods, bool $returnValueGeneration)
No description
bool
hasMatchers()
No description
Matcher|null
lookupMatcher(string $id)
Looks up the match builder with identification $id and returns it.
void
registerMatcher(string $id, Matcher $matcher)
Registers a matcher with the identification $id. The matcher can later be looked up using lookupMatcher() to figure out if it has been invoked.
InvocationStubber
expects(InvocationOrder $rule)
No description
mixed
invoke(Invocation $invocation)
No description
void
verify()
No description