src/Tokenizer/Analyzer/NamespaceUsesAnalyzer.php
public function getDeclarationsFromTokens(Tokens $tokens)
    {
        $tokenAnalyzer = new TokensAnalyzer($tokens);
        $useIndexes = $tokenAnalyzer->getImportUseIndexes();

        return $this->getDeclarations($tokens, $useIndexes);
    }
public function getDeclarationsFromTokens(Tokens $tokens)
    {
        $tokenAnalyzer = new TokensAnalyzer($tokens);
        $useIndexes = $tokenAnalyzer->getImportUseIndexes();

        return $this->getDeclarations($tokens, $useIndexes);
    }
public function getDeclarationsFromTokens ( Tokens $ tokens ) { $ tokenAnalyzer = new TokensAnalyzer ( $ tokens ) ; $ useIndexes = $ tokenAnalyzer -> getImportUseIndexes ( ) ; return $ this -> getDeclarations ( $ tokens , $ useIndexes ) ; }
@param Tokens $tokens

@return NamespaceUseAnalysis[]
@param Tokens $tokens