src/Eloquent/Typhoon/ClassMapper/ClassMapper.php
protected function parseClassName(array &$tokens)
    {
        $this->typeCheck->parseClassName(func_get_args());

        do {
            $token = $this->normalizeToken(next($tokens));
        } while (T_WHITESPACE === $token[0]);

        return ClassName::fromAtoms(array($token[1]), false);
    }
protected function parseClassName(array &$tokens)
    {
        $this->typeCheck->parseClassName(func_get_args());

        do {
            $token = $this->normalizeToken(next($tokens));
        } while (T_WHITESPACE === $token[0]);

        return ClassName::fromAtoms(array($token[1]), false);
    }
@param array<string|array> &$tokens

@return ClassName