public function ContainerBuilder::setResourceTracking in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/ContainerBuilder.php \Symfony\Component\DependencyInjection\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.
Parameters
bool $track true if you want to track resources, false otherwise:
1 call to ContainerBuilder::setResourceTracking()
- ContainerBuilder::__construct in core/lib/ Drupal/ Core/ DependencyInjection/ ContainerBuilder.php 
- Constructor.
File
- vendor/symfony/ dependency-injection/ ContainerBuilder.php, line 99 
Class
- ContainerBuilder
- ContainerBuilder is a DI container that provides an API to easily describe services.
Namespace
Symfony\Component\DependencyInjectionCode
public function setResourceTracking($track) {
  $this->trackResources = (bool) $track;
}