This commit is contained in:
Ruben 2017-03-31 12:33:25 +02:00
parent b3fc783098
commit bdca46d286
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ class Application {
// $em_config->setQueryCacheImpl(new \Doctrine\Common\Cache\ApcuCache());
// $em_config->setResultCacheImpl(new \Doctrine\Common\Cache\ApcuCache());
// $em_config->setMetadataCacheImpl(new \Doctrine\Common\Cache\ApcuCache());
$em_config->setCustomDatetimeFunctions([
'DATE' => 'DoctrineExtensions\Query\Mysql\Date',
]);
$em_config->setCustomNumericFunctions(array(
'ACOS' => 'DoctrineExtensions\Query\Mysql\Acos',
'ASIN' => 'DoctrineExtensions\Query\Mysql\Asin',