public function resolveExtensionNamespace(string $manifest): array
    {
        $vendor = null;
        $package = null;
        $manifest = \str_replace(['\\', '/'], DIRECTORY_SEPARATOR, $manifest);
        $fragment = \explode(DIRECTORY_SEPARATOR, $manifest);

        // Remove orchestra.json from fragment as we are only interested with
        // the two segment before it.
        if (\array_pop($fragment) == 'orchestra.json') {
            $package = \array_pop($fragment);
            $vendor = \array_pop($fragment);
        }

        return [$vendor, $package];
    }