interface Stub (View source)

internal  This class is not covered by the backward compatibility promise for PHPUnit
 

Methods

mixed
invoke(Invocation $invocation)

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

Details

mixed invoke(Invocation $invocation)

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

Parameters

Invocation $invocation

Return Value

mixed