Phan\Language\Element\AddressableElementInterface::getReferenceCount PHP Method

getReferenceCount() public method

public getReferenceCount ( CodeBase $code_base ) : integer
$code_base Phan\CodeBase Some elements may need access to the code base to figure out their total reference count.
return integer The number of references to this typed structural element
    public function getReferenceCount(CodeBase $code_base) : int;