1
0
mirror of synced 2024-12-05 03:06: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 <?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);