Same filename and directory in other branches
  1. 8.9.x core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php
  2. 9 core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php

Namespace

Drupal\Core\DependencyInjection

File

core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php
View source
<?php

namespace Drupal\Core\DependencyInjection;


/**
 * Base service provider implementation.
 *
 * @ingroup container
 */
abstract class ServiceProviderBase implements ServiceProviderInterface, ServiceModifierInterface {

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

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

}

Classes

Namesort descending Description
ServiceProviderBase Base service provider implementation.