W3cubDocs

/Drupal 8

interface ServiceProviderInterface

Interface that all service providers must implement.

Hierarchy

Related topics

Services and Dependency Injection Container
Overview of the Dependency Injection Container and Services.

File

core/lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.php, line 10

Namespace

Drupal\Core\DependencyInjection

Members

Name Modifiers Type Description
ServiceProviderInterface::register public function Registers services to the container.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!DependencyInjection!ServiceProviderInterface.php/interface/ServiceProviderInterface/8.1.x