public static function fromString(string $manifest) : Manifest { try { return (new ManifestDocumentMapper())->map(ManifestDocument::fromString($manifest)); } catch (Exception $e) { throw new ManifestLoaderException('Processing string failed', (int) $e->getCode(), $e); } }