Phan\Language\Element\AddressableElement::addReference PHP Method

addReference() public method

public addReference ( FileRef $file_ref ) : void
$file_ref Phan\Language\FileRef A reference to a location in which this typed structural element is referenced.
return void
    public function addReference(FileRef $file_ref)
    {
        $this->reference_list[] = $file_ref;
    }