| @@ 192-198 (lines=7) @@ | ||
| 189 | * @param string $filename |
|
| 190 | * @return BillResult |
|
| 191 | */ |
|
| 192 | private function getBillResult($xml, $filename) |
|
| 193 | { |
|
| 194 | $this->lastXml = $this->getXmmlSigned($xml); |
|
| 195 | ||
| 196 | $zip = $this->zipper->compress("$filename.xml", $this->lastXml); |
|
| 197 | return $this->sender->send("$filename.zip", $zip); |
|
| 198 | } |
|
| 199 | ||
| 200 | /** |
|
| 201 | * @param string $xml |
|
| @@ 205-211 (lines=7) @@ | ||
| 202 | * @param string $filename |
|
| 203 | * @return SummaryResult |
|
| 204 | */ |
|
| 205 | private function getSummaryResult($xml, $filename) |
|
| 206 | { |
|
| 207 | $this->lastXml = $this->getXmmlSigned($xml); |
|
| 208 | ||
| 209 | $zip = $this->zipper->compress("$filename.xml", $this->lastXml); |
|
| 210 | return $this->sender->sendSummary("$filename.zip", $zip); |
|
| 211 | } |
|
| 212 | ||
| 213 | /** |
|
| 214 | * @param string $xml |
|