PHP Class spec\Prophecy\Doubler\ClassPatch\ProphecySubjectPatchSpec

Inheritance: extends PhpSpec\ObjectBehavior
显示文件 Open project: phpspec/prophecy

Public Methods

Method Description
it_forces_all_class_methods_except_constructor_to_proxy_calls_into_prophecy_makeCall ( Prophecy\Doubler\Generator\Node\ClassNode $node, Prophecy\Doubler\Generator\Node\MethodNode $constructor, Prophecy\Doubler\Generator\Node\MethodNode $method1, Prophecy\Doubler\Generator\Node\MethodNode $method2, Prophecy\Doubler\Generator\Node\MethodNode $method3 )
it_forces_class_to_implement_ProphecySubjectInterface ( Prophecy\Doubler\Generator\Node\ClassNode $node )
it_has_priority_of_0 ( )
it_is_a_patch ( )
it_supports_any_class ( Prophecy\Doubler\Generator\Node\ClassNode $node )

Method Details

it_forces_all_class_methods_except_constructor_to_proxy_calls_into_prophecy_makeCall() public method

public it_forces_all_class_methods_except_constructor_to_proxy_calls_into_prophecy_makeCall ( Prophecy\Doubler\Generator\Node\ClassNode $node, Prophecy\Doubler\Generator\Node\MethodNode $constructor, Prophecy\Doubler\Generator\Node\MethodNode $method1, Prophecy\Doubler\Generator\Node\MethodNode $method2, Prophecy\Doubler\Generator\Node\MethodNode $method3 )
$node Prophecy\Doubler\Generator\Node\ClassNode
$constructor Prophecy\Doubler\Generator\Node\MethodNode
$method1 Prophecy\Doubler\Generator\Node\MethodNode
$method2 Prophecy\Doubler\Generator\Node\MethodNode
$method3 Prophecy\Doubler\Generator\Node\MethodNode

it_forces_class_to_implement_ProphecySubjectInterface() public method

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

it_has_priority_of_0() public method

it_is_a_patch() public method

public it_is_a_patch ( )

it_supports_any_class() public method

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