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

Breadcrumb

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

function ManifestSerializer::finishDocument

1 call to ManifestSerializer::finishDocument()
ManifestSerializer::serializeToString in vendor/phar-io/manifest/src/ManifestSerializer.php

File

vendor/phar-io/manifest/src/ManifestSerializer.php, line 56

Class

ManifestSerializer
@psalm-suppress MissingConstructor

Namespace

PharIo\Manifest

Code

private function finishDocument() : string {
    $this->xmlWriter
        ->endElement();
    $this->xmlWriter
        ->endDocument();
    return $this->xmlWriter
        ->outputMemory();
}

API Navigation

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