Свойство | Тип | Описание | |
---|---|---|---|
$backupGlobalsBlacklist | array | ||
$backupStaticAttributes | boolean | Enable or disable the backup and restoration of static attributes. |
Метод | Описание | |
---|---|---|
createMock ( string $originalClassName ) : PHPUnit_Framework_MockObject_MockObject | Returns a test double for the specified class. |
Метод | Описание | |
---|---|---|
inject ( object $target, string $name, mixed $dependency ) : void | Injects $dependency into property $name of $target |
public createMock ( string $originalClassName ) : PHPUnit_Framework_MockObject_MockObject | ||
$originalClassName | string | |
Результат | PHPUnit_Framework_MockObject_MockObject |
protected bool $backupStaticAttributes | ||
Результат | boolean |