private function parseName(string $name): array
    {
        $name = str_replace('/', '\\', $name);

        if (strpos($name, '\\') !== false) {
            $names = explode('\\', $name);
            $class = array_pop($names);

            return [join('\\', $names), $class];
        }

        //No user namespace
        return ['', $name];
    }