protected readAttribute ( SimpleXMLElement $node, string $attribute ) : string | ||
$node | SimpleXMLElement | The node to read from, *(not null not empty). |
$attribute | string | The attribute name, *(not null not empty). |
Résultat | string | The attribute value, not null. |