메소드 | 설명 | |
---|---|---|
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 ) |
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 |
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 |
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 |
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 |
public its_registerClassPatch_adds_a_patch_to_the_doubler ( Prophecy\Doubler\ClassPatch\ClassPatchInterface $patch ) | ||
$patch | Prophecy\Doubler\ClassPatch\ClassPatchInterface |
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 |