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
2016-10-29 08:56:45
Comments
Leave a Comment

Please login to continue.