ContainerInjectionInterface

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

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.
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.