PHP Класс spec\Prophecy\Doubler\Generator\Node\ClassNodeSpec

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

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

Метод Описание
it_can_has_methods ( Prophecy\Doubler\Generator\Node\MethodNode $method1, Prophecy\Doubler\Generator\Node\MethodNode $method2 )
it_does_not_have_methods_by_default ( )
it_does_not_have_properties_by_default ( )
it_does_not_implement_any_interface_by_default ( )
it_ignores_same_interfaces_added_twice ( )
it_is_able_to_have_properties ( )
it_supports_implementation_of_multiple_interfaces ( )
it_throws_an_exception_when_adding_a_method_that_isnt_extendable ( Prophecy\Doubler\Generator\Node\MethodNode $method )
its_addInterface_adds_item_to_the_list_of_implemented_interfaces ( )
its_addProperty_does_not_accept_unsupported_visibility ( )
its_addProperty_lowercases_visibility_before_setting ( )
its_addUnextendableMethods_adds_an_unextendable_method ( )
its_addUnextendableMethods_doesnt_create_duplicates ( )
its_getMethod_returns_method_by_name ( Prophecy\Doubler\Generator\Node\MethodNode $method )
its_hasInterface_returns_false_if_class_does_not_implements_interface ( )
its_hasInterface_returns_true_if_class_implements_interface ( )
its_hasMethod_returns_false_if_method_does_not_exists ( )
its_hasMethod_returns_false_if_method_has_been_removed ( Prophecy\Doubler\Generator\Node\MethodNode $method )
its_hasMethod_returns_true_if_method_exists ( Prophecy\Doubler\Generator\Node\MethodNode $method )
its_has_no_unextendable_methods_by_default ( )
its_methods_are_extendable_by_default ( )
its_parentClass_is_a_stdClass_by_default ( )
its_parentClass_is_mutable ( )
its_parentClass_is_set_to_stdClass_if_user_set_null ( )
its_unextendable_methods_are_not_extendable ( )

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

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

public it_can_has_methods ( Prophecy\Doubler\Generator\Node\MethodNode $method1, Prophecy\Doubler\Generator\Node\MethodNode $method2 )
$method1 Prophecy\Doubler\Generator\Node\MethodNode
$method2 Prophecy\Doubler\Generator\Node\MethodNode

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

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

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

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

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

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

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

public it_throws_an_exception_when_adding_a_method_that_isnt_extendable ( Prophecy\Doubler\Generator\Node\MethodNode $method )
$method Prophecy\Doubler\Generator\Node\MethodNode

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

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

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

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

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

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

public its_getMethod_returns_method_by_name ( Prophecy\Doubler\Generator\Node\MethodNode $method )
$method Prophecy\Doubler\Generator\Node\MethodNode

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

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

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

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

public its_hasMethod_returns_false_if_method_has_been_removed ( Prophecy\Doubler\Generator\Node\MethodNode $method )
$method Prophecy\Doubler\Generator\Node\MethodNode

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

public its_hasMethod_returns_true_if_method_exists ( Prophecy\Doubler\Generator\Node\MethodNode $method )
$method Prophecy\Doubler\Generator\Node\MethodNode

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

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

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

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

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

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