1. 8.3.x core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php ServiceProviderBase
  2. 8.0.x core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php ServiceProviderBase
  3. 8.1.x core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php ServiceProviderBase
  4. 8.2.x core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php ServiceProviderBase
  5. 8.4.x core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php ServiceProviderBase

Base service provider implementation.

Hierarchy

Expanded class hierarchy of ServiceProviderBase

Related topics

2 files declare their use of ServiceProviderBase

File

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

Namespace

Drupal\Core\DependencyInjection
View source
abstract class ServiceProviderBase implements ServiceProviderInterface, ServiceModifierInterface {

  /**
   * {@inheritdoc}
   */
  public function register(ContainerBuilder $container) {
  }

  /**
   * {@inheritdoc}
   */
  public function alter(ContainerBuilder $container) {
  }

}

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
ServiceProviderBase::alter public function Modifies existing service definitions. Overrides ServiceModifierInterface::alter
ServiceProviderBase::register public function Registers services to the container. Overrides ServiceProviderInterface::register