public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->service = (string) $xml->service; $this->action = (string) $xml->action; }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->object = (string) $xml->object; $this->parameter = (string) $xml->parameter; $this->action = (string) $xml->action; }