public function getFunctions() { foreach ($res = parent::getFunctions() as $key => $val) { $res[$key] = new GlobalFunction($key); } return $res; }