public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (!empty($xml->force)) { $this->force = true; } if (!empty($xml->createLink)) { $this->createLink = true; } }