class PHPUnit_Framework_MockObject_Invocation_Object extends PHPUnit_Framework_MockObject_Invocation_Static (View source)

Represents a non-static invocation.

Properties

static protected array $uncloneableExtensions from PHPUnit_Framework_MockObject_Invocation_Static
static protected array $uncloneableClasses from PHPUnit_Framework_MockObject_Invocation_Static
string $className from PHPUnit_Framework_MockObject_Invocation_Static
string $methodName from PHPUnit_Framework_MockObject_Invocation_Static
array $parameters from PHPUnit_Framework_MockObject_Invocation_Static
string $returnType from PHPUnit_Framework_MockObject_Invocation_Static
bool $returnTypeNullable from PHPUnit_Framework_MockObject_Invocation_Static
object $object

Methods

__construct(string $className, string $methodName, array $parameters, string $returnType, object $object, bool $cloneObjects = false)

No description

object
cloneObject(object $original)

No description

Details

__construct(string $className, string $methodName, array $parameters, string $returnType, object $object, bool $cloneObjects = false)

Parameters

string $className
string $methodName
array $parameters
string $returnType
object $object
bool $cloneObjects

string toString()

Return Value

string

mixed generateReturnValue()

Return Value

mixed Mocked return value.

protected object cloneObject(object $original)

Parameters

object $original

Return Value

object