src/Reflection/ReflectionFile.php
private function getSource(int $startID, int $endID): string
    {
        $result = '';
        for ($tokenID = $startID; $tokenID <= $endID; ++$tokenID) {
            //Collecting function usage src
            $result .= $this->tokens[$tokenID][self::TOKEN_CODE];
        }

        return $result;
    }
private function getSource(int $startID, int $endID): string
    {
        $result = '';
        for ($tokenID = $startID; $tokenID <= $endID; ++$tokenID) {
            //Collecting function usage src
            $result .= $this->tokens[$tokenID][self::TOKEN_CODE];
        }

        return $result;
    }
private function getSource ( int $ startID , int $ endID ) : string { $ result = '' ; for ( $ tokenID = $ startID ; $ tokenID <= $ endID ; ++ $ tokenID ) { //Collecting function usage src $ result .= $ this -> tokens [ $ tokenID ] [ self :: TOKEN_CODE ] ; } return $ result ; }
Get src located between two tokens.

@param int $startID
@param int $endID

@return string
Get src located between two tokens .