SimpleXMLElement cannot be found when working with namespaces
The fix was that I needed to add a forward slash () in front of SimpleXmlElement:
$xml = new \SimpleXMLElement($this->create_gk_xml(), 0, true);
As outlined here.
The fix was that I needed to add a forward slash () in front of SimpleXmlElement:
$xml = new \SimpleXMLElement($this->create_gk_xml(), 0, true);
As outlined here.