Documentation

PHPUnit_Framework_MockObject_Stub extends PHPUnit_Framework_SelfDescribing
in

An object that stubs the process of a normal method for a mock object.

The stub object will replace the code for the stubbed method and return a specific value instead of the original value.

Tags
since

Interface available since Release 1.0.0

Table of Contents

invoke()  : mixed
Fakes the processing of the invocation $invocation by returning a specific value.
toString()  : string
Returns a string representation of the object.

Methods

toString()

Returns a string representation of the object.

public toString() : string
Return values
string

Search results