*/ class Test__setExplicit { public static function main() { $tagParser = new DefinitionParser(); $defs = $tagParser->parse(getcwd() . '/xml/defines-__setExplicit.xml'); $conf = new XmlParser(); $conf->setTagDefinitions($defs); try { $conf->parse(getcwd() . '/xml/test-__set.xml'); } catch (Exception $e) { throw $e; exit(); } $dog = $conf->getConfigValue('dog'); var_dump($dog->getProperties()); } } Test__setExplicit::main(); ?>