RegisterServicesForDestructionPass

Adds services tagged "needs_destruction" to the "kernel_destruct_subscriber" service.

Hierarchy

See also

\Drupal\Core\DestructableInterface

File

core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php, line 14

Namespace

Drupal\Core\DependencyInjection\Compiler

Members

Name Modifiers Type Description
RegisterServicesForDestructionPass::process public function You can modify the container here before it is dumped to PHP code. Overrides CompilerPassInterface::process
doc_Drupal
2016-10-29 09:37:11
Comments
Leave a Comment

Please login to continue.