Search for container
- Search 7.x for container
- Search 9.5.x for container
- Search 10.3.x for container
- Search 11.x for container
- Other projects
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Container | class | core/ |
Provides a render element that wraps child elements in a container. |
Container | class | core/ |
Extends the Drupal container to set the service ID on the created object. |
Container | class | core/ |
Provides a container optimized for Drupal's needs. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
ContainerTest.php | file | core/ |
|
ContainerTest.php | file | core/ |
Contains \Drupal\Tests\Component\DependencyInjection\ContainerTest. |
ContainerTest::$container | property | core/ |
The tested container. |
ContainerTest::$containerClass | property | core/ |
The container class to be tested. |
ContainerTest::$containerDefinition | property | core/ |
The container definition used for the test. |
ContainerTest::$machineFormat | property | core/ |
Whether the container uses the machine-optimized format or not. |
ContainerTest::getCollection | function | core/ |
Helper function to return a machine-optimized collection. |
ContainerTest::getMockContainerDefinition | function | core/ |
Gets a mock container definition. |
ContainerTest::getParameterCall | function | core/ |
Helper function to return a parameter definition. |
ContainerTest::getPrivateServiceCall | function | core/ |
Helper function to return a private service definition. |
ContainerTest::getRaw | function | core/ |
Helper function to return a raw value definition. |
ContainerTest::getServiceCall | function | core/ |
Helper function to return a service definition. |
ContainerTest::setUp | function | core/ |
|
ContainerTest::testConstruct | function | core/ |
Tests that passing a non-supported format throws an InvalidArgumentException. |
ContainerTest::testGet | function | core/ |
Tests that Container::get() works properly. |
ContainerTest::testGetForAliasedService | function | core/ |
Tests that Container::get() for aliased services works properly. |
ContainerTest::testGetForCircularServices | function | core/ |
Tests that Container::get() for circular dependencies works properly. @covers ::get @covers ::createService |
ContainerTest::testGetForClassFromParameter | function | core/ |
Tests that Container::get() works properly for class from parameters. |
ContainerTest::testGetForConfigurator | function | core/ |
Tests that Container::get() for configurable services works. |
ContainerTest::testGetForConfiguratorWithException | function | core/ |
Tests that Container::get() for configurable services throws an Exception. |
ContainerTest::testGetForFactoryClass | function | core/ |
Tests that Container::get() for factories via class works (Symfony 2.7.0). |
ContainerTest::testGetForFactoryService | function | core/ |
Tests Container::get() for factories via services (Symfony 2.7.0). |
ContainerTest::testGetForInstantiationWithVariousArgumentLengths | function | core/ |
Tests that Container::get() for various arguments lengths works. |
ContainerTest::testGetForNonExistentNULLService | function | core/ |
Tests that Container::get() for NULL service works properly. @covers ::get @covers ::createService |
ContainerTest::testGetForNonExistentParameterDependency | function | core/ |
Tests that Container::get() for non-existent parameters works properly. |
ContainerTest::testGetForNonExistentParameterDependencyWithException | function | core/ |
Tests that Container::get() for non-existent parameters works properly. |
ContainerTest::testGetForNonExistentService | function | core/ |
Tests that Container::get() for non-existent services works properly. |
ContainerTest::testGetForNonExistentServiceDependency | function | core/ |
Tests that Container::get() for non-existent dependencies works properly. |
ContainerTest::testGetForNonExistentServiceDependencyWithException | function | core/ |
Tests that Container::get() for non-existent dependencies works properly. |
ContainerTest::testGetForNonExistentServiceMultipleTimes | function | core/ |
Tests multiple Container::get() calls for non-existing dependencies work. |
ContainerTest::testGetForNonExistentServiceWhenUsingNull | function | core/ |
Tests that Container::get() for non-existent services works properly. |
ContainerTest::testGetForNonExistentServiceWithExceptionOnSecondCall | function | core/ |
Tests multiple Container::get() calls with exception on the second time. |
ContainerTest::testGetForNonSharedService | function | core/ |
Tests that Container::get() for non-shared services works properly. |
ContainerTest::testGetForParameterDependencyWithExceptionOnSecondCall | function | core/ |
Tests Container::get() with an exception due to missing parameter on the second call. |
ContainerTest::testGetForSerializedServiceDefinition | function | core/ |
Tests that Container::get() for a serialized definition works properly. |
ContainerTest::testGetForSyntheticService | function | core/ |
Tests that Container::get() for synthetic services works - if defined. |
ContainerTest::testGetForSyntheticServiceWithException | function | core/ |
Tests that Container::get() for synthetic services throws an Exception if not defined. |
ContainerTest::testGetForWrongFactory | function | core/ |
Tests that Container::get() for wrong factories works correctly. |
ContainerTest::testGetParameter | function | core/ |
Tests that Container::getParameter() works properly. |
ContainerTest::testGetParameterIfNotFound | function | core/ |
Tests that Container::getParameter() works properly for non-existing parameters. |
ContainerTest::testGetParameterIfNotFoundBecauseNull | function | core/ |
Tests that Container::getParameter() works properly for NULL parameters. |
ContainerTest::testGetServiceIds | function | core/ |
Tests that Container::getServiceIds() works properly. |
ContainerTest::testGetWithFileInclude | function | core/ |
Tests that Container::get() for services with file includes works. |
ContainerTest::testHas | function | core/ |
Tests that Container::has() works properly. |
ContainerTest::testHasForAliasedService | function | core/ |
Tests that Container::has() for aliased services works properly. |
ContainerTest::testHasParameter | function | core/ |
Tests that Container::hasParameter() works properly. |
ContainerTest::testInitialized | function | core/ |
Tests that Container::initialized works correctly. |
ContainerTest::testInitializedForAliases | function | core/ |
Tests that Container::initialized works correctly for aliases. |
ContainerTest::testResolveServicesAndParametersForArgumentsUsingDeepArray | function | core/ |
Tests that services with an array of arguments work correctly. |
ContainerTest::testResolveServicesAndParametersForInvalidArgument | function | core/ |
Tests that an invalid argument throw an Exception. |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.