Doctrine\ORM\Configuration::setCustomStringFunctions
Sets a map of custom DQL string 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 string functions are discarded.
Signature
public function setCustomStringFunctions(array
$functions )
Parameters
$functions
— array- The map of custom DQL string functions.