PDepend\Source\Language\PHP\PHPBuilder::restoreFunction PHP Method

restoreFunction() public method

Restores a function within the internal type scope.
Since: 0.10.0
public restoreFunction ( PDepend\Source\AST\ASTFunction $function ) : void
$function PDepend\Source\AST\ASTFunction
return void
    public function restoreFunction(ASTFunction $function)
    {
        $this->buildNamespace($function->getNamespaceName())->addFunction($function);
    }
PHPBuilder