file-fetcher
Public Member Functions | List of all members
PHPUnit\Framework\MockObject\Stub\ConsecutiveCalls Class Reference
Inheritance diagram for PHPUnit\Framework\MockObject\Stub\ConsecutiveCalls:
PHPUnit\Framework\MockObject\Stub\Stub PHPUnit\Framework\SelfDescribing

Public Member Functions

 __construct (array $stack)
 
 invoke (Invocation $invocation)
 
 toString ()
 

Constructor & Destructor Documentation

◆ __construct()

PHPUnit\Framework\MockObject\Stub\ConsecutiveCalls::__construct ( array  $stack)

Member Function Documentation

◆ invoke()

PHPUnit\Framework\MockObject\Stub\ConsecutiveCalls::invoke ( Invocation  $invocation)

Fakes the processing of the invocation $invocation by returning a specific value.

Parameters
Invocation$invocationThe invocation which was mocked and matched by the current method and argument matchers

Implements PHPUnit\Framework\MockObject\Stub\Stub.

◆ toString()

PHPUnit\Framework\MockObject\Stub\ConsecutiveCalls::toString ( )

Returns a string representation of the object.

Implements PHPUnit\Framework\SelfDescribing.


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