attributesStructure = $attributesStructure; return $this; } /** * Parse the attributes * * @param SimpleXMLElement $xmlNode The XML node * * @return mixed The extracted attributes */ protected function parseXmlAttributes (SimpleXMLElement $xmlNode): InsensitiveCaseArrayClass { if ($this->attributesStructure === null) { return new InsensitiveCaseArrayClass(); } return $this->attributesStructure->parseXml($xmlNode); } }