PHP Класс spec\Prophecy\Doubler\ClassPatch\ReflectionClassNewInstancePatchSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
it_is_a_patch ( )
it_makes_all_newInstance_arguments_optional ( Prophecy\Doubler\Generator\Node\ClassNode $class, Prophecy\Doubler\Generator\Node\MethodNode $method, Prophecy\Doubler\Generator\Node\ArgumentNode $arg1 )
it_supports_ReflectionClass_only ( Prophecy\Doubler\Generator\Node\ClassNode $reflectionClassNode, Prophecy\Doubler\Generator\Node\ClassNode $anotherClassNode )
its_priority_is_50 ( )

Описание методов

it_is_a_patch() публичный Метод

public it_is_a_patch ( )

it_makes_all_newInstance_arguments_optional() публичный Метод

public it_makes_all_newInstance_arguments_optional ( Prophecy\Doubler\Generator\Node\ClassNode $class, Prophecy\Doubler\Generator\Node\MethodNode $method, Prophecy\Doubler\Generator\Node\ArgumentNode $arg1 )
$class Prophecy\Doubler\Generator\Node\ClassNode
$method Prophecy\Doubler\Generator\Node\MethodNode
$arg1 Prophecy\Doubler\Generator\Node\ArgumentNode

it_supports_ReflectionClass_only() публичный Метод

public it_supports_ReflectionClass_only ( Prophecy\Doubler\Generator\Node\ClassNode $reflectionClassNode, Prophecy\Doubler\Generator\Node\ClassNode $anotherClassNode )
$reflectionClassNode Prophecy\Doubler\Generator\Node\ClassNode
$anotherClassNode Prophecy\Doubler\Generator\Node\ClassNode

its_priority_is_50() публичный Метод

public its_priority_is_50 ( )