Documentation

ManifestInterface

Table of Contents

createAsset()  : AssetInterface
createCacheFile()  : SplFileInfo
createDataFile()  : SplFileInfo
createManifestFile()  : SplFileInfo
Returns a handle for a file inside the asset directory of this manifest.
createUrl()  : FarahUrl
Build a Farah URL for the given path, with this module's URL as base.
getId()  : string
The Farah URL that represents this module.
lookupAsset()  : AssetInterface
normalizeManifestElement()  : void
Set any missing attributes according to the AssetBuilderStrategy.
normalizeManifestTree()  : void

Methods

createManifestFile()

Returns a handle for a file inside the asset directory of this manifest.

public createManifestFile(string $fileName) : SplFileInfo
Parameters
$fileName : string
Return values
SplFileInfo

getId()

The Farah URL that represents this module.

public getId() : string

$this === Module::resolveToManifest($this->getId())

Return values
string

normalizeManifestElement()

Set any missing attributes according to the AssetBuilderStrategy.

public normalizeManifestElement(LeanElement $parent, LeanElement $child) : void
Parameters
$parent : LeanElement
$child : LeanElement
Return values
void

normalizeManifestTree()

public normalizeManifestTree(LeanElement $root) : void
Parameters
$root : LeanElement
Return values
void

Search results