Symfony\Component\DependencyInjection\ContainerBuilder::setResourceTracking PHP Метод

setResourceTracking() публичный Метод

If you are not using the loaders and therefore don't want to depend on the Config component, set this flag to false.
public setResourceTracking ( boolean $track )
$track boolean true if you want to track resources, false otherwise
    public function setResourceTracking($track)
    {
        $this->trackResources = (bool) $track;
    }

Usage Example

 /**
  * @return SymfonyContainerBuilder
  */
 public function compile()
 {
     $this->registerServices($this->parameters['services']);
     $this->builder->setResourceTracking(false);
     $this->builder->compile();
     return $this->builder;
 }
All Usage Examples Of Symfony\Component\DependencyInjection\ContainerBuilder::setResourceTracking