interface ServiceProviderInterface in Service Container 7
Same name in this branch
- 7 src/DependencyInjection/ServiceProviderInterface.php \Drupal\service_container\DependencyInjection\ServiceProviderInterface
- 7 lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.php \Drupal\Core\DependencyInjection\ServiceProviderInterface
Same name and namespace in other branches
- 7.2 lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.php \Drupal\Core\DependencyInjection\ServiceProviderInterface
Interface that all service providers must implement.
Hierarchy
- interface \Drupal\Core\DependencyInjection\ServiceProviderInterface
Expanded class hierarchy of ServiceProviderInterface
All classes that implement ServiceProviderInterface
File
- lib/
Drupal/ Core/ DependencyInjection/ ServiceProviderInterface.php, line 15 - Contains \Drupal\Core\DependencyInjection\ServiceProviderInterface.
Namespace
Drupal\Core\DependencyInjectionView source
interface ServiceProviderInterface {
/**
* Registers services to the container.
*
* @param ContainerBuilder $container
* The ContainerBuilder to register services to.
*/
public function register(ContainerBuilder $container);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ServiceProviderInterface:: |
public | function | Registers services to the container. | 1 |