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