function ContainerBuilder::setResourceTracking
Sets the track resources flag.
If you are not using the loaders and therefore don't want to depend on the Config component, set this flag to false.
1 call to ContainerBuilder::setResourceTracking()
- ContainerBuilder::__construct in core/
lib/ Drupal/ Core/ DependencyInjection/ ContainerBuilder.php
File
-
vendor/
symfony/ dependency-injection/ ContainerBuilder.php, line 179
Class
- ContainerBuilder
- ContainerBuilder is a DI container that provides an API to easily describe services.
Namespace
Symfony\Component\DependencyInjectionCode
public function setResourceTracking(bool $track) : void {
$this->trackResources = $track;
}