ServiceProviderInterface.php in Service Container 7.2
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\Core\DependencyInjectionFile
lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\Core\DependencyInjection\ServiceProviderInterface.
*/
namespace Drupal\Core\DependencyInjection;
/**
* Interface that all service providers must implement.
*
* @ingroup container
*/
interface ServiceProviderInterface {
/**
* Registers services to the container.
*
* @param ContainerBuilder $container
* The ContainerBuilder to register services to.
*/
public function register(ContainerBuilder $container);
}
Interfaces
Name | Description |
---|---|
ServiceProviderInterface | Interface that all service providers must implement. |