Documentation

PHPUnit_Framework_MockObject_Stub_ReturnArgument extends PHPUnit_Framework_MockObject_Stub_Return
in package

Stubs a method by returning an argument that was passed to the mocked method.

Tags
since

Class available since Release 1.0.0

Table of Contents

$argumentIndex  : mixed
$value  : mixed
__construct()  : mixed
invoke()  : mixed
Fakes the processing of the invocation $invocation by returning a specific value.
toString()  : mixed

Properties

Methods

__construct()

public __construct(mixed $argumentIndex) : mixed
Parameters
$argumentIndex : mixed
Return values
mixed

Search results