public function registerFunction($name, $func) { $this->userFunctions[$this->normalizeName($name)] = $func; }