1
0
mirror of synced 2024-12-05 03:06:05 +03:00

Merge pull request #1379 from holtkamp/patch-1

Added missing 'new' keyword for logger instantiation
This commit is contained in:
Steve Müller 2015-04-18 11:13:31 +02:00
commit 71d134fcc0

View File

@ -239,7 +239,7 @@ By providing a cache logger you should be able to get information about all cach
<?php
/* @var $config \Doctrine\ORM\Configuration */
$logger = \Doctrine\ORM\Cache\Logging\StatisticsCacheLogger();
$logger = new \Doctrine\ORM\Cache\Logging\StatisticsCacheLogger();
// Cache logger
$config->setSecondLevelCacheEnabled(true);