Documentation

PHPUnit_Framework_MockObject_Invocation_Static
in package
implements PHPUnit_Framework_MockObject_Invocation, PHPUnit_Framework_SelfDescribing

Represents a static invocation.

Tags
since

Class available since Release 1.0.0

Interfaces, Classes and Traits

PHPUnit_Framework_MockObject_Invocation
Interface for invocations.
PHPUnit_Framework_SelfDescribing
Interface for classes that can return a description of itself.

Table of Contents

$className  : string
$methodName  : string
$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[, bool $cloneObjects = false ]) : mixed
Parameters
$className : string
$methodName : mixed
$parameters : array<string|int, mixed>
$cloneObjects : bool = 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