Метод | Описание | |
---|---|---|
it_generates_empty_class_for_empty_ClassNode ( Prophecy\Doubler\Generator\Node\ClassNode $class ) | ||
it_generates_proper_php_code_for_specific_ClassNode ( Prophecy\Doubler\Generator\Node\ClassNode $class, Prophecy\Doubler\Generator\Node\MethodNode $method1, Prophecy\Doubler\Generator\Node\MethodNode $method2, Prophecy\Doubler\Generator\Node\MethodNode $method3, Prophecy\Doubler\Generator\Node\ArgumentNode $argument11, Prophecy\Doubler\Generator\Node\ArgumentNode $argument12, Prophecy\Doubler\Generator\Node\ArgumentNode $argument21, Prophecy\Doubler\Generator\Node\ArgumentNode $argument31 ) | ||
it_generates_proper_php_code_for_variadics ( Prophecy\Doubler\Generator\Node\ClassNode $class, Prophecy\Doubler\Generator\Node\MethodNode $method1, Prophecy\Doubler\Generator\Node\MethodNode $method2, Prophecy\Doubler\Generator\Node\MethodNode $method3, Prophecy\Doubler\Generator\Node\MethodNode $method4, Prophecy\Doubler\Generator\Node\ArgumentNode $argument1, Prophecy\Doubler\Generator\Node\ArgumentNode $argument2, Prophecy\Doubler\Generator\Node\ArgumentNode $argument3, Prophecy\Doubler\Generator\Node\ArgumentNode $argument4 ) | ||
it_overrides_properly_methods_with_args_passed_by_reference ( Prophecy\Doubler\Generator\Node\ClassNode $class, Prophecy\Doubler\Generator\Node\MethodNode $method, Prophecy\Doubler\Generator\Node\ArgumentNode $argument ) | ||
it_wraps_class_in_namespace_if_it_is_namespaced ( Prophecy\Doubler\Generator\Node\ClassNode $class ) |
public it_generates_empty_class_for_empty_ClassNode ( Prophecy\Doubler\Generator\Node\ClassNode $class ) | ||
$class | Prophecy\Doubler\Generator\Node\ClassNode |
public it_generates_proper_php_code_for_specific_ClassNode ( Prophecy\Doubler\Generator\Node\ClassNode $class, Prophecy\Doubler\Generator\Node\MethodNode $method1, Prophecy\Doubler\Generator\Node\MethodNode $method2, Prophecy\Doubler\Generator\Node\MethodNode $method3, Prophecy\Doubler\Generator\Node\ArgumentNode $argument11, Prophecy\Doubler\Generator\Node\ArgumentNode $argument12, Prophecy\Doubler\Generator\Node\ArgumentNode $argument21, Prophecy\Doubler\Generator\Node\ArgumentNode $argument31 ) | ||
$class | Prophecy\Doubler\Generator\Node\ClassNode | |
$method1 | Prophecy\Doubler\Generator\Node\MethodNode | |
$method2 | Prophecy\Doubler\Generator\Node\MethodNode | |
$method3 | Prophecy\Doubler\Generator\Node\MethodNode | |
$argument11 | Prophecy\Doubler\Generator\Node\ArgumentNode | |
$argument12 | Prophecy\Doubler\Generator\Node\ArgumentNode | |
$argument21 | Prophecy\Doubler\Generator\Node\ArgumentNode | |
$argument31 | Prophecy\Doubler\Generator\Node\ArgumentNode |
public it_generates_proper_php_code_for_variadics ( Prophecy\Doubler\Generator\Node\ClassNode $class, Prophecy\Doubler\Generator\Node\MethodNode $method1, Prophecy\Doubler\Generator\Node\MethodNode $method2, Prophecy\Doubler\Generator\Node\MethodNode $method3, Prophecy\Doubler\Generator\Node\MethodNode $method4, Prophecy\Doubler\Generator\Node\ArgumentNode $argument1, Prophecy\Doubler\Generator\Node\ArgumentNode $argument2, Prophecy\Doubler\Generator\Node\ArgumentNode $argument3, Prophecy\Doubler\Generator\Node\ArgumentNode $argument4 ) | ||
$class | Prophecy\Doubler\Generator\Node\ClassNode | |
$method1 | Prophecy\Doubler\Generator\Node\MethodNode | |
$method2 | Prophecy\Doubler\Generator\Node\MethodNode | |
$method3 | Prophecy\Doubler\Generator\Node\MethodNode | |
$method4 | Prophecy\Doubler\Generator\Node\MethodNode | |
$argument1 | Prophecy\Doubler\Generator\Node\ArgumentNode | |
$argument2 | Prophecy\Doubler\Generator\Node\ArgumentNode | |
$argument3 | Prophecy\Doubler\Generator\Node\ArgumentNode | |
$argument4 | Prophecy\Doubler\Generator\Node\ArgumentNode |
public it_overrides_properly_methods_with_args_passed_by_reference ( Prophecy\Doubler\Generator\Node\ClassNode $class, Prophecy\Doubler\Generator\Node\MethodNode $method, Prophecy\Doubler\Generator\Node\ArgumentNode $argument ) | ||
$class | Prophecy\Doubler\Generator\Node\ClassNode | |
$method | Prophecy\Doubler\Generator\Node\MethodNode | |
$argument | Prophecy\Doubler\Generator\Node\ArgumentNode |
public it_wraps_class_in_namespace_if_it_is_namespaced ( Prophecy\Doubler\Generator\Node\ClassNode $class ) | ||
$class | Prophecy\Doubler\Generator\Node\ClassNode |