KernelDestructionSubscriber::$services

Holds an array of service ID's that will require destruction.

Type: array

File

core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php, line 27

Class

KernelDestructionSubscriber
Destructs services that are initiated and tagged with "needs_destruction".

Namespace

Drupal\Core\EventSubscriber

Code

protected $services = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.