src/Index/Index.php
public function removeDefinition(string $fqn)
    {
        $parts = $this->splitFqn($fqn);
        $this->removeIndexedDefinition(0, $parts, $this->definitions, $this->definitions);

        unset($this->references[$fqn]);
    }
public function removeDefinition(string $fqn)
    {
        $parts = $this->splitFqn($fqn);
        $this->removeIndexedDefinition(0, $parts, $this->definitions, $this->definitions);

        unset($this->references[$fqn]);
    }
public function removeDefinition ( string $ fqn ) { $ parts = $ this -> splitFqn ( $ fqn ) ; $ this -> removeIndexedDefinition ( 0 , $ parts , $ this -> definitions , $ this -> definitions ) ; unset ( $ this -> references [ $ fqn ] ) ; }
Unsets the Definition for a specific symbol
and removes all references pointing to that symbol

@param string $fqn The fully qualified name of the symbol
@return void
Unsets the Definition for a specific symbol and removes all references pointing to that symbol