file-fetcher
Public Member Functions | List of all members
PHPUnit\Framework\MockObject\Builder\Identity Interface Reference
Inheritance diagram for PHPUnit\Framework\MockObject\Builder\Identity:
PHPUnit\Framework\MockObject\Builder\Stub PHPUnit\Framework\MockObject\Builder\Match PHPUnit\Framework\MockObject\Builder\ParametersMatch PHPUnit\Framework\MockObject\Builder\MethodNameMatch PHPUnit\Framework\MockObject\Builder\InvocationMocker

Public Member Functions

 id ($id)
 

Member Function Documentation

◆ id()

PHPUnit\Framework\MockObject\Builder\Identity::id (   $id)

Sets the identification of the expectation to $id.

Note
The identifier is unique per mock object.
Parameters
string$idunique identification of expectation

Implemented in PHPUnit\Framework\MockObject\Builder\InvocationMocker.


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