PHP Class spec\Prophecy\Doubler\ClassPatch\SplFileInfoPatchSpec

Inheritance: extends PhpSpec\ObjectBehavior
Show file Open project: phpspec/prophecy

Public Methods

Method Description
it_adds_a_method_to_node_if_not_exists ( Prophecy\Doubler\Generator\Node\ClassNode $node )
it_does_not_support_nodes_without_parent_class ( Prophecy\Doubler\Generator\Node\ClassNode $node )
it_is_a_patch ( )
it_should_not_supply_a_file_for_a_directory_iterator ( Prophecy\Doubler\Generator\Node\ClassNode $node, Prophecy\Doubler\Generator\Node\MethodNode $method )
it_should_supply_a_file_for_a_spl_file_object ( Prophecy\Doubler\Generator\Node\ClassNode $node, Prophecy\Doubler\Generator\Node\MethodNode $method )
it_supports_nodes_with_SplFileInfo_as_parent_class ( Prophecy\Doubler\Generator\Node\ClassNode $node )
it_supports_nodes_with_derivative_of_SplFileInfo_as_parent_class ( Prophecy\Doubler\Generator\Node\ClassNode $node )
it_updates_existing_method_if_found ( Prophecy\Doubler\Generator\Node\ClassNode $node, Prophecy\Doubler\Generator\Node\MethodNode $method )
its_priority_is_50 ( )

Method Details

it_adds_a_method_to_node_if_not_exists() public method

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

it_does_not_support_nodes_without_parent_class() public method

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

it_is_a_patch() public method

public it_is_a_patch ( )

it_should_not_supply_a_file_for_a_directory_iterator() public method

public it_should_not_supply_a_file_for_a_directory_iterator ( Prophecy\Doubler\Generator\Node\ClassNode $node, Prophecy\Doubler\Generator\Node\MethodNode $method )
$node Prophecy\Doubler\Generator\Node\ClassNode
$method Prophecy\Doubler\Generator\Node\MethodNode

it_should_supply_a_file_for_a_spl_file_object() public method

public it_should_supply_a_file_for_a_spl_file_object ( Prophecy\Doubler\Generator\Node\ClassNode $node, Prophecy\Doubler\Generator\Node\MethodNode $method )
$node Prophecy\Doubler\Generator\Node\ClassNode
$method Prophecy\Doubler\Generator\Node\MethodNode

it_supports_nodes_with_SplFileInfo_as_parent_class() public method

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

it_supports_nodes_with_derivative_of_SplFileInfo_as_parent_class() public method

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

it_updates_existing_method_if_found() public method

public it_updates_existing_method_if_found ( Prophecy\Doubler\Generator\Node\ClassNode $node, Prophecy\Doubler\Generator\Node\MethodNode $method )
$node Prophecy\Doubler\Generator\Node\ClassNode
$method Prophecy\Doubler\Generator\Node\MethodNode

its_priority_is_50() public method

public its_priority_is_50 ( )