PHP Класс spec\Prophecy\Doubler\DoublerSpec

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

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

Метод Описание
it_can_instantiate_class_with_final_constructor ( $mirror, ReflectionClass $class, Prophecy\Doubler\Generator\Node\ClassNode $node, $namer )
it_does_not_have_patches_by_default ( )
it_double_instantiates_a_class_with_constructor_argument ( $mirror, ReflectionClass $class, Prophecy\Doubler\Generator\Node\ClassNode $node, $namer )
its_double_mirrors_alterates_and_instantiates_provided_class ( $mirror, $creator, $namer, Prophecy\Doubler\ClassPatch\ClassPatchInterface $alt1, Prophecy\Doubler\ClassPatch\ClassPatchInterface $alt2, ReflectionClass $class, ReflectionClass $interface1, ReflectionClass $interface2, Prophecy\Doubler\Generator\Node\ClassNode $node )
its_getClassPatches_sorts_patches_by_priority ( Prophecy\Doubler\ClassPatch\ClassPatchInterface $alt1, Prophecy\Doubler\ClassPatch\ClassPatchInterface $alt2, Prophecy\Doubler\ClassPatch\ClassPatchInterface $alt3, Prophecy\Doubler\ClassPatch\ClassPatchInterface $alt4 )
its_registerClassPatch_adds_a_patch_to_the_doubler ( Prophecy\Doubler\ClassPatch\ClassPatchInterface $patch )
let ( Prophecy\Doubler\Generator\ClassMirror $mirror, Prophecy\Doubler\Generator\ClassCreator $creator, Prophecy\Doubler\NameGenerator $namer )

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

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

public it_can_instantiate_class_with_final_constructor ( $mirror, ReflectionClass $class, Prophecy\Doubler\Generator\Node\ClassNode $node, $namer )
$class ReflectionClass
$node Prophecy\Doubler\Generator\Node\ClassNode

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

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

public it_double_instantiates_a_class_with_constructor_argument ( $mirror, ReflectionClass $class, Prophecy\Doubler\Generator\Node\ClassNode $node, $namer )
$class ReflectionClass
$node Prophecy\Doubler\Generator\Node\ClassNode

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

public its_double_mirrors_alterates_and_instantiates_provided_class ( $mirror, $creator, $namer, Prophecy\Doubler\ClassPatch\ClassPatchInterface $alt1, Prophecy\Doubler\ClassPatch\ClassPatchInterface $alt2, ReflectionClass $class, ReflectionClass $interface1, ReflectionClass $interface2, Prophecy\Doubler\Generator\Node\ClassNode $node )
$alt1 Prophecy\Doubler\ClassPatch\ClassPatchInterface
$alt2 Prophecy\Doubler\ClassPatch\ClassPatchInterface
$class ReflectionClass
$interface1 ReflectionClass
$interface2 ReflectionClass
$node Prophecy\Doubler\Generator\Node\ClassNode

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

public its_getClassPatches_sorts_patches_by_priority ( Prophecy\Doubler\ClassPatch\ClassPatchInterface $alt1, Prophecy\Doubler\ClassPatch\ClassPatchInterface $alt2, Prophecy\Doubler\ClassPatch\ClassPatchInterface $alt3, Prophecy\Doubler\ClassPatch\ClassPatchInterface $alt4 )
$alt1 Prophecy\Doubler\ClassPatch\ClassPatchInterface
$alt2 Prophecy\Doubler\ClassPatch\ClassPatchInterface
$alt3 Prophecy\Doubler\ClassPatch\ClassPatchInterface
$alt4 Prophecy\Doubler\ClassPatch\ClassPatchInterface

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

public its_registerClassPatch_adds_a_patch_to_the_doubler ( Prophecy\Doubler\ClassPatch\ClassPatchInterface $patch )
$patch Prophecy\Doubler\ClassPatch\ClassPatchInterface

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

public let ( Prophecy\Doubler\Generator\ClassMirror $mirror, Prophecy\Doubler\Generator\ClassCreator $creator, Prophecy\Doubler\NameGenerator $namer )
$mirror Prophecy\Doubler\Generator\ClassMirror
$creator Prophecy\Doubler\Generator\ClassCreator
$namer Prophecy\Doubler\NameGenerator