Doctrine\ORM\Configuration::addCustomNumericFunction
Registers a custom DQL function that produces a numeric value.
Such a function can then be used in any DQL statement in any place where numeric functions are allowed. DQL function names are case-insensitive.
Signature
public function addCustomNumericFunction(string
$name,
string
$className )
Parameters
$name
— string$className
— string