Defines a common interface for dependency container injection.
This interface gives classes who need services a factory method for instantiation rather than defining a new service.
Hierarchy
- interface \Drupal\Core\DependencyInjection\ContainerInjectionInterface
File
- core/lib/Drupal/Core/DependencyInjection/ContainerInjectionInterface.php, line 13
Namespace
Drupal\Core\DependencyInjection
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ContainerInjectionInterface::create | public static | function | Instantiates a new instance of this class. |
Please login to continue.