file-fetcher
Public Member Functions | List of all members
PHPUnit\Framework\MockObject\InvocationHandler Class Reference

Public Member Functions

 __construct (array $configurableMethods, bool $returnValueGeneration)
 
 hasMatchers ()
 
 lookupMatcher (string $id)
 
 registerMatcher (string $id, Matcher $matcher)
 
 expects (InvocationOrder $rule)
 
 invoke (Invocation $invocation)
 
 matches (Invocation $invocation)
 
 verify ()
 

Constructor & Destructor Documentation

◆ __construct()

PHPUnit\Framework\MockObject\InvocationHandler::__construct ( array  $configurableMethods,
bool  $returnValueGeneration 
)

Member Function Documentation

◆ expects()

PHPUnit\Framework\MockObject\InvocationHandler::expects ( InvocationOrder  $rule)

◆ hasMatchers()

PHPUnit\Framework\MockObject\InvocationHandler::hasMatchers ( )

◆ invoke()

PHPUnit\Framework\MockObject\InvocationHandler::invoke ( Invocation  $invocation)
Exceptions
Exception
Returns
mixed|void

◆ lookupMatcher()

PHPUnit\Framework\MockObject\InvocationHandler::lookupMatcher ( string  $id)

Looks up the match builder with identification $id and returns it.

Parameters
string$idThe identification of the match builder

◆ matches()

PHPUnit\Framework\MockObject\InvocationHandler::matches ( Invocation  $invocation)

◆ registerMatcher()

PHPUnit\Framework\MockObject\InvocationHandler::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.

Parameters
string$idThe identification of the matcher
Matcher$matcherThe builder which is being registered
Exceptions
RuntimeException

◆ verify()

PHPUnit\Framework\MockObject\InvocationHandler::verify ( )
Exceptions

The documentation for this class was generated from the following file: