You are here

interface CompilerPassInterface in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/CompilerPassInterface.php \Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface

Interface that must be implemented by compilation passes.

@author Johannes M. Schmitt <schmittjoh@gmail.com>

@api

Hierarchy

Expanded class hierarchy of CompilerPassInterface

All classes that implement CompilerPassInterface

13 files declare their use of CompilerPassInterface
BackendCompilerPass.php in lib/Drupal/Core/DependencyInjection/Compiler/BackendCompilerPass.php
Contains \Drupal\Core\DependencyInjection\Compiler\BackendCompilerPass.
ContainerBuilder.php in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ContainerBuilder.php
DependencySerializationTraitPass.php in lib/Drupal/Core/DependencyInjection/Compiler/DependencySerializationTraitPass.php
Contains \Drupal\Core\DependencyInjection\Compiler\DependencySerializationTraitPass.
ModifyServiceDefinitionsPass.php in lib/Drupal/Core/DependencyInjection/Compiler/ModifyServiceDefinitionsPass.php
Contains \Drupal\Core\DependencyInjection\Compiler\ModifyServiceDefinitionsPass.
RegisterAccessChecksPass.php in lib/Drupal/Core/DependencyInjection/Compiler/RegisterAccessChecksPass.php
Contains \Drupal\Core\DependencyInjection\Compiler\RegisterAccessChecksPass.

... See full list

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/CompilerPassInterface.php, line 23

Namespace

Symfony\Component\DependencyInjection\Compiler
View source
interface CompilerPassInterface {

  /**
   * You can modify the container here before it is dumped to PHP code.
   *
   * @param ContainerBuilder $container
   *
   * @api
   */
  public function process(ContainerBuilder $container);

}

Members

Namesort descending Modifiers Type Description Overrides
CompilerPassInterface::process public function You can modify the container here before it is dumped to PHP code. 30