PHP Class spec\Prophecy\Doubler\ClassPatch\DisableConstructorPatchSpec

Inheritance: extends PhpSpec\ObjectBehavior
Mostrar archivo Open project: phpspec/prophecy

Public Methods

Method Description
it_creates_new_constructor_if_object_has_none ( Prophecy\Doubler\Generator\Node\ClassNode $class )
it_is_a_patch ( )
it_makes_all_constructor_arguments_optional ( Prophecy\Doubler\Generator\Node\ClassNode $class, Prophecy\Doubler\Generator\Node\MethodNode $method, Prophecy\Doubler\Generator\Node\ArgumentNode $arg1, Prophecy\Doubler\Generator\Node\ArgumentNode $arg2 )
it_supports_anything ( Prophecy\Doubler\Generator\Node\ClassNode $node )
its_priority_is_100 ( )

Method Details

it_creates_new_constructor_if_object_has_none() public method

public it_creates_new_constructor_if_object_has_none ( Prophecy\Doubler\Generator\Node\ClassNode $class )
$class Prophecy\Doubler\Generator\Node\ClassNode

it_is_a_patch() public method

public it_is_a_patch ( )

it_makes_all_constructor_arguments_optional() public method

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

it_supports_anything() public method

public it_supports_anything ( Prophecy\Doubler\Generator\Node\ClassNode $node )
$node Prophecy\Doubler\Generator\Node\ClassNode

its_priority_is_100() public method

public its_priority_is_100 ( )