Documentation

PHPUnit_Framework_MockObject_Invocation_Object extends PHPUnit_Framework_MockObject_Invocation_Static
in package

Represents a non-static invocation.

Tags
since

Class available since Release 1.0.0

Table of Contents

$className  : string
$methodName  : string
$object  : object
$parameters  : array<string|int, mixed>
$uncloneableClasses  : array<string|int, mixed>
$uncloneableExtensions  : array<string|int, mixed>
__construct()  : mixed
toString()  : string
Returns a string representation of the object.
cloneObject()  : object

Properties

$className

public string $className

$methodName

public string $methodName

$parameters

public array<string|int, mixed> $parameters

$uncloneableClasses

protected static array<string|int, mixed> $uncloneableClasses = array('Closure', 'COMPersistHelper', 'IteratorIterator', 'RecursiveIteratorIterator', 'SplFileObject', 'PDORow', 'ZipArchive')

$uncloneableExtensions

protected static array<string|int, mixed> $uncloneableExtensions = array('mysqli' => rue, 'SQLite' => rue, 'sqlite3' => rue, 'tidy' => rue, 'xmlwriter' => rue, 'xsl' => rue)

Methods

__construct()

public __construct(string $className, mixed $methodName, array<string|int, mixed> $parameters, object $object[, object $cloneObjects = false ]) : mixed
Parameters
$className : string
$methodName : mixed
$parameters : array<string|int, mixed>
$object : object
$cloneObjects : object = false
Return values
mixed

toString()

Returns a string representation of the object.

public toString() : string
Return values
string

cloneObject()

protected cloneObject(object $original) : object
Parameters
$original : object
Return values
object

Search results