Doctrine\ORM\Configuration::setCustomNumericFunctions
Sets a map of custom DQL numeric functions.
Keys must be function names and values the FQCN of the implementing class. The function names will be case-insensitive in DQL. Any previously added numeric functions are discarded.
Signature
public function setCustomNumericFunctions(array
$functions )
Parameters
$functions
— array- The map of custom DQL numeric functions.