Skip to content

Commit b24831c

Browse files
committed
Set synthetic service before it is used.
1 parent ee3578b commit b24831c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

PropelBundle.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ public function boot()
5252
// Set the configuration created above, which has also been injected into the container as a service.
5353
\Propel::setConfiguration($config);
5454

55+
// Initialize the propel.data_collector Service
56+
$Factory->collector($this->container);
57+
5558
// The factory above sets the logging parameters in PropelConfiguration, if param 'propel.logging' is set.
5659
if ($Factory->isPropelLogging($this->container)) {
5760
\Propel::setLogger($this->container->get('propel.logger'));

0 commit comments

Comments
 (0)