PHP Class spec\PhpSpec\ServiceContainer\IndexedServiceContainerSpec

Inheritance: extends PhpSpec\ObjectBehavior
Mostra file Open project: phpspec/phpspec

Public Methods

Method Description
it_does_not_evaluate_callables_that_are_set ( )
it_evaluates_factory_function_only_once_for_shared_services ( )
it_knows_when_services_are_defined ( $service )
it_knows_when_services_are_not_defined ( )
it_provides_a_way_to_remove_service_by_key ( $service )
it_returns_custom_default_for_unexisting_parameter_if_provided ( )
it_returns_nothing_when_no_services_are_tagged ( )
it_returns_null_value_for_unexisting_parameter ( )
it_returns_services_which_are_defined_using_tags ( )
it_returns_services_which_are_set_using_tags ( $service )
it_stores_parameters ( )
it_stores_services ( $service )
it_supports_custom_service_configurators ( )
it_throws_exception_when_trying_to_get_unexisting_service ( )
it_uses_new_definition_when_a_service_is_redefined ( )

Method Details

it_does_not_evaluate_callables_that_are_set() public method

it_evaluates_factory_function_only_once_for_shared_services() public method

it_knows_when_services_are_defined() public method

it_knows_when_services_are_not_defined() public method

it_provides_a_way_to_remove_service_by_key() public method

it_returns_custom_default_for_unexisting_parameter_if_provided() public method

it_returns_nothing_when_no_services_are_tagged() public method

it_returns_null_value_for_unexisting_parameter() public method

it_returns_services_which_are_defined_using_tags() public method

it_returns_services_which_are_set_using_tags() public method

it_stores_parameters() public method

it_stores_services() public method

public it_stores_services ( $service )

it_supports_custom_service_configurators() public method

it_throws_exception_when_trying_to_get_unexisting_service() public method

it_uses_new_definition_when_a_service_is_redefined() public method