abstract class ServiceProviderBase in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php \Drupal\Core\DependencyInjection\ServiceProviderBase
Base service provider implementation.
Hierarchy
- class \Drupal\Core\DependencyInjection\ServiceProviderBase implements ServiceModifierInterface, ServiceProviderInterface
Expanded class hierarchy of ServiceProviderBase
File
- lib/
Drupal/ Core/ DependencyInjection/ ServiceProviderBase.php, line 15 - Contains \Drupal\Core\DependencyInjection\ServiceProviderBase.
Namespace
Drupal\Core\DependencyInjectionView source
abstract class ServiceProviderBase implements ServiceProviderInterface, ServiceModifierInterface {
/**
* {@inheritdoc}
*/
public function register(ContainerBuilder $container) {
}
/**
* {@inheritdoc}
*/
public function alter(ContainerBuilder $container) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ServiceProviderBase:: |
public | function |
Modifies existing service definitions. Overrides ServiceModifierInterface:: |
|
ServiceProviderBase:: |
public | function |
Registers services to the container. Overrides ServiceProviderInterface:: |