Thin wrapper class around extension config.xml file.
package | Default |
---|
__construct(\SimpleXMLElement $xml)
\SimpleXMLElement
createVersionFetchers(): array
array
VersionFetcher[]
findConfigXml(\ZipArchive $zip): string|null
\ZipArchive
string|null
getAuthor(): string
string
getDescription(): string
string
getLicense(): string
string
getName(): string
string
getNodeAsArray(string $nodeName): \array<mixed>
string
the name of the node to retrieve
\array
the node contents as an array
getVersion(): string
string
isCompatible(): boolean
boolean
loadFromFile(string $file): \ExtensionConfig
loadFromZip(string $filePath): \ExtensionConfig
validate(): boolean
todo | Get detailed error message. |
---|---|
boolean
xml :\SimpleXMLElement
var |
---|
\SimpleXMLElement