ManifestSerializer
in package
Tags
Table of Contents
- $xmlWriter : XMLWriter
- 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
Return values
void —serializeToString()
public
serializeToString(Manifest $manifest) : string
Parameters
- $manifest : Manifest
Return values
string —addBundles()
private
addBundles(BundledComponentCollection $bundledComponentCollection) : void
Parameters
- $bundledComponentCollection : BundledComponentCollection
Return values
void —addContains()
private
addContains(ApplicationName $name, Version $version, Type $type) : void
Parameters
- $name : ApplicationName
- $version : Version
- $type : Type
Return values
void —addCopyright()
private
addCopyright(CopyrightInformation $copyrightInformation) : void
Parameters
- $copyrightInformation : CopyrightInformation
Return values
void —addExtension()
private
addExtension(ApplicationName $applicationName, VersionConstraint $versionConstraint) : void
Parameters
- $applicationName : ApplicationName
- $versionConstraint : VersionConstraint
Return values
void —addRequirements()
private
addRequirements(RequirementCollection $requirementCollection) : void
Parameters
- $requirementCollection : RequirementCollection
Return values
void —finishDocument()
private
finishDocument() : string
Return values
string —startDocument()
private
startDocument() : void