Added missing 'new' keyword for logger instantiation
This commit is contained in:
parent
3f84be7b7c
commit
eef81b6eb9
@ -239,7 +239,7 @@ By providing a cache logger you should be able to get information about all cach
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
/* @var $config \Doctrine\ORM\Configuration */
|
/* @var $config \Doctrine\ORM\Configuration */
|
||||||
$logger = \Doctrine\ORM\Cache\Logging\StatisticsCacheLogger();
|
$logger = new \Doctrine\ORM\Cache\Logging\StatisticsCacheLogger();
|
||||||
|
|
||||||
// Cache logger
|
// Cache logger
|
||||||
$config->setSecondLevelCacheEnabled(true);
|
$config->setSecondLevelCacheEnabled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user