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

restoreInterface() public method

Restores an interface within the internal type scope.
Since: 0.10.0
public restoreInterface ( PDepend\Source\AST\ASTInterface $interface ) : void
$interface PDepend\Source\AST\ASTInterface
return void
    public function restoreInterface(ASTInterface $interface)
    {
        $this->storeInterface($interface->getName(), $interface->getNamespaceName(), $interface);
    }
PHPBuilder