ManifestSerializer
in package
Tags
Table of Contents
Properties
- $xmlWriter : XMLWriter
Methods
- serializeToFile() : void
- serializeToString() : string
- addBundles() : void
- addContains() : void
- addCopyright() : void
- addExtension() : void
- addRequirements() : void
- finishDocument() : string
- startDocument() : void
Properties
$xmlWriter
private
XMLWriter
$xmlWriter
Methods
serializeToFile()
public
serializeToFile(Manifest $manifest, string $filename) : void
Parameters
- $manifest : Manifest
- $filename : string
serializeToString()
public
serializeToString(Manifest $manifest) : string
Parameters
- $manifest : Manifest
Return values
stringaddBundles()
private
addBundles(BundledComponentCollection $bundledComponentCollection) : void
Parameters
- $bundledComponentCollection : BundledComponentCollection
addContains()
private
addContains(ApplicationName $name, Version $version, Type $type) : void
Parameters
- $name : ApplicationName
- $version : Version
- $type : Type
addCopyright()
private
addCopyright(CopyrightInformation $copyrightInformation) : void
Parameters
- $copyrightInformation : CopyrightInformation
addExtension()
private
addExtension(ApplicationName $applicationName, VersionConstraint $versionConstraint) : void
Parameters
- $applicationName : ApplicationName
- $versionConstraint : VersionConstraint
addRequirements()
private
addRequirements(RequirementCollection $requirementCollection) : void
Parameters
- $requirementCollection : RequirementCollection
finishDocument()
private
finishDocument() : string
Return values
stringstartDocument()
private
startDocument() : void