You are here

ServiceProviderBase.php in Drupal 9

Same filename and directory in other branches
  1. 8 core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php

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.