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

Public Member Functions

 __construct ($value)
 
 invoke (Invocation $invocation)
 
 toString ()
 

Constructor & Destructor Documentation

◆ __construct()

PHPUnit\Framework\MockObject\Stub\ReturnStub::__construct (   $value)

Member Function Documentation

◆ invoke()

PHPUnit\Framework\MockObject\Stub\ReturnStub::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\ReturnStub::toString ( )

Returns a string representation of the object.

Implements PHPUnit\Framework\SelfDescribing.


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