|
@@ -31,10 +31,12 @@ class DataCollectorManager
|
|
protected $collectors;
|
|
protected $collectors;
|
|
protected $response;
|
|
protected $response;
|
|
protected $lifetime;
|
|
protected $lifetime;
|
|
|
|
+ protected $logger;
|
|
|
|
|
|
public function __construct(ContainerInterface $container, LoggerInterface $logger, ProfilerStorage $profilerStorage, $lifetime = 86400)
|
|
public function __construct(ContainerInterface $container, LoggerInterface $logger, ProfilerStorage $profilerStorage, $lifetime = 86400)
|
|
{
|
|
{
|
|
$this->container = $container;
|
|
$this->container = $container;
|
|
|
|
+ $this->logger = $logger;
|
|
$this->lifetime = $lifetime;
|
|
$this->lifetime = $lifetime;
|
|
$this->profilerStorage = $profilerStorage;
|
|
$this->profilerStorage = $profilerStorage;
|
|
$this->collectors = $this->initCollectors();
|
|
$this->collectors = $this->initCollectors();
|