Skip to content

Commit

Permalink
Merge pull request #3 from gdubost/feature/21738
Browse files Browse the repository at this point in the history
[FEATURE#21738] Ajout de la fonction replace
  • Loading branch information
gdubost committed Oct 13, 2015
2 parents 7c7018c + ac2b24f commit 549ced0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DoctrineOrm.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ private function addCustomDqlTypes(Application $app)

$configuration = $app["orm.em"]->getConfiguration();

$configuration->addCustomStringFunction('REPLACE', 'DoctrineExtensions\Query\Mysql\Replace');

$configuration->addCustomStringFunction('MD5', 'DoctrineExtensions\Query\Mysql\Md5');
$configuration->addCustomStringFunction('SHA1', 'DoctrineExtensions\Query\Mysql\Sha1');
$configuration->addCustomStringFunction('SHA2', 'DoctrineExtensions\Query\Mysql\Sha2');
Expand Down

0 comments on commit 549ced0

Please sign in to comment.