Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ManifestLoader.php

function ManifestLoader::fromString

File

vendor/phar-io/manifest/src/ManifestLoader.php, line 34

Class

ManifestLoader

Namespace

PharIo\Manifest

Code

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);
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal