| @@ 76-82 (lines=7) @@ | ||
| 73 | * @param string $filename |
|
| 74 | * @return BillResult |
|
| 75 | */ |
|
| 76 | protected function getBillResult($xml, $filename) |
|
| 77 | { |
|
| 78 | $this->lastXml = $this->getXmmlSigned($xml); |
|
| 79 | ||
| 80 | $zip = $this->zipper->compress("$filename.xml", $this->lastXml); |
|
| 81 | return $this->sender->send("$filename.zip", $zip); |
|
| 82 | } |
|
| 83 | ||
| 84 | /** |
|
| 85 | * @param string $xml |
|
| @@ 89-95 (lines=7) @@ | ||
| 86 | * @param string $filename |
|
| 87 | * @return SummaryResult |
|
| 88 | */ |
|
| 89 | protected function getSummaryResult($xml, $filename) |
|
| 90 | { |
|
| 91 | $this->lastXml = $this->getXmmlSigned($xml); |
|
| 92 | ||
| 93 | $zip = $this->zipper->compress("$filename.xml", $this->lastXml); |
|
| 94 | return $this->sender->sendSummary("$filename.zip", $zip); |
|
| 95 | } |
|
| 96 | ||
| 97 | /** |
|
| 98 | * @param string $xml |
|