ProjectXmlParser
extends XmlParserAbstract
in package
Class to parse the project.xml file of an application.
Table of Contents
- $path : string
- __construct() : mixed
- parse() : InfosAbstract
- parseFromString() : mixed
- createInfos() : InfosAbstract
- fixVersion() : mixed
- Fix version for non built lib.
- parseInfo() : mixed
Properties
$path
protected
string
$path
the path of the xml file to read
Methods
__construct()
public
__construct(string $path) : mixed
Parameters
- $path : string
-
the path of the xml file to read
Return values
mixed —parse()
public
parse() : InfosAbstract
Return values
InfosAbstract —parseFromString()
public
parseFromString(mixed $xmlContent) : mixed
Parameters
- $xmlContent : mixed
Return values
mixed —createInfos()
protected
createInfos() : InfosAbstract
Return values
InfosAbstract —fixVersion()
Fix version for non built lib.
protected
fixVersion(mixed $version) : mixed
Parameters
- $version : mixed
Return values
mixed —parseInfo()
protected
parseInfo(XMLReader $xml, InfosAbstract $object) : mixed
Parameters
- $xml : XMLReader
- $object : InfosAbstract