interface ContainerInterface in Service Container 7.2
Same name in this branch
- 7.2 src/DependencyInjection/ContainerInterface.php \Drupal\service_container\DependencyInjection\ContainerInterface
- 7.2 lib/Symfony/Component/DependencyInjection/ContainerInterface.php \Symfony\Component\DependencyInjection\ContainerInterface
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ContainerInterface.php \Symfony\Component\DependencyInjection\ContainerInterface
Same name and namespace in other branches
- 7 src/DependencyInjection/ContainerInterface.php \Drupal\service_container\DependencyInjection\ContainerInterface
Simple DI Container Interface used to get services and discover definitions.
Hierarchy
- interface \Drupal\Component\Plugin\Discovery\DiscoveryInterface
- interface \Drupal\service_container\DependencyInjection\ContainerInterface extends \Symfony\Component\DependencyInjection\IntrospectableContainerInterface
Expanded class hierarchy of ContainerInterface
All classes that implement ContainerInterface
5 files declare their use of ContainerInterface
- CachedContainerBuilderTest.php in tests/
src/ DependencyInjection/ CachedContainerBuilderTest.php - Contains \Drupal\Tests\service_container\DependencyInjection\CachedContainerBuilderTest
- ContainerAwarePluginManagerTest.php in tests/
src/ Plugin/ ContainerAwarePluginManagerTest.php - Contains \Drupal\Tests\service_container\Plugin\ContainerAwarePluginManagerTest
- ContainerBuilderTest.php in tests/
src/ DependencyInjection/ ContainerBuilderTest.php - Contains \Drupal\Tests\service_container\DependencyInjection\ContainerBuilderTest
- ContainerTest.php in tests/
src/ DependencyInjection/ ContainerTest.php - Contains \Drupal\Tests\service_container\DependencyInjection\ContainerTest
- KeyValueFactory.php in src/
KeyValueStore/ KeyValueFactory.php - Contains \Drupal\service_container\KeyValueStore\KeyValueFactory.
File
- src/
DependencyInjection/ ContainerInterface.php, line 17 - Contains \Drupal\service_container\DependencyInjection\ContainerInterface.
Namespace
Drupal\service_container\DependencyInjectionView source
interface ContainerInterface extends DiscoveryInterface, IntrospectableContainerInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiscoveryInterface:: |
public | function | Gets a specific plugin definition. | 5 |
DiscoveryInterface:: |
public | function | Gets the definition of all plugins for this type. | 5 |
DiscoveryInterface:: |
public | function | Indicates if a specific plugin definition exists. | 5 |