/** * This method can be used to register an existing function in the current * application context. * * @param \PDepend\Source\AST\ASTFunction $function * @return void */ public function registerFunction(ASTFunction $function) { self::$builder->restoreFunction($function); }