PDepend\Source\Language\PHP\PHPBuilder::findInterface PHP Méthode

findInterface() protected méthode

This method tries to find an interface instance matching for the given qualified name in all scopes already processed. It will return the best matching instance or null if no match exists.
Since: 0.9.5
protected findInterface ( string $qualifiedName ) : PDepend\Source\AST\ASTInterface
$qualifiedName string
Résultat PDepend\Source\AST\ASTInterface
    protected function findInterface($qualifiedName)
    {
        $this->freeze();
        $interface = $this->findType($this->frozenInterfaces, $qualifiedName);
        if ($interface === null) {
            $interface = $this->findType($this->interfaces, $qualifiedName);
        }
        return $interface;
    }
PHPBuilder