1
0
mirror of synced 2024-12-04 02:36:05 +03:00

Added missing 'new' keyword for logger instantiation

This commit is contained in:
Menno Holtkamp 2015-04-09 15:06:41 +02:00
parent 3f84be7b7c
commit eef81b6eb9

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);