class PHPUnit_Framework_MockObject_Invocation_Static implements PHPUnit_Framework_MockObject_Invocation, SelfDescribing (View source)

Represents a static invocation.

Properties

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

Methods

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

No description

string
toString()

No description

mixed
generateReturnValue()

No description

object
cloneObject(object $original)

No description

Details

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

Parameters

string $className
string $methodName
array $parameters
string $returnType
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