protected function getScopeType(Stmt $stmt)
    {
        if ($stmt instanceof Class_) {
            return self::CLASS_TYPE;
        } elseif ($stmt instanceof Interface_) {
            return self::INTERFACE_TYPE;
        } elseif ($stmt instanceof Trait_) {
            return self::TRAIT_TYPE;
        }
    }
protected function getScopeType(Stmt $stmt)
    {
        if ($stmt instanceof Class_) {
            return self::CLASS_TYPE;
        } elseif ($stmt instanceof Interface_) {
            return self::INTERFACE_TYPE;
        } elseif ($stmt instanceof Trait_) {
            return self::TRAIT_TYPE;
        }
    }
protected function getScopeType ( Stmt $ stmt ) { if ( $ stmt instanceof Class_ ) { return self :: CLASS_TYPE ; } elseif ( $ stmt instanceof Interface_ ) { return self :: INTERFACE_TYPE ; } elseif ( $ stmt instanceof Trait_ ) { return self :: TRAIT_TYPE ; } }
Get a symbol type key for storing in the scope name cache.

@deprecated No longer used. Scope type should be passed into ensureCanDefine directly.
@codeCoverageIgnore

@param Stmt $stmt

@return string
Get a symbol type key for storing in the scope name cache .