Deprecated: Return type of YDataTable::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/bdavid/prod/georef/yamldoc/ydclasses/ydata.inc.php on line 428
Deprecated: Return type of YamlDataTable::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/bdavid/prod/georef/yamldoc/ydclasses/yamldata.inc.php on line 295
ydclasses YamlDocElement
YamlDocElement - Declaration de l'interface 'YamlDocElement'
Aucun schéma n'est associé à cette classe de documents
La classe est définie dans le fichier yamldoc.inc.php
Documentation de la classe
Tout élément d'un YamlDoc doit être soit:
- un type Php généré par l'analyseur Yaml y compris des objets de type DateTime
- un objet d'une classe conforme à l'interface YamlDocElement
Un YamlDocElement possède les méthodes:
- extract(string $ypath) // extrait le sous-élément de l'élément défini par $ypath
- asArray() // décapsule l'objet et retourne son contenu sous la forme d'un array