PHP Класс spec\Prophecy\Doubler\ClassPatch\SplFileInfoPatchSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )

Описание методов

it_adds_a_method_to_node_if_not_exists() публичный Метод

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 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 it_is_a_patch ( )

it_should_not_supply_a_file_for_a_directory_iterator() публичный Метод

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 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 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 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 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 its_priority_is_50 ( )