| Total Complexity | 9 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | abstract class AbstractOutput |
||
| 8 | { |
||
| 9 | /** @var QrBill */ |
||
| 10 | protected $qrBill; |
||
| 11 | |||
| 12 | /** @var string */ |
||
| 13 | protected $language; |
||
| 14 | |||
| 15 | public function __construct(QrBill $qrBill, string $language) |
||
| 16 | { |
||
| 17 | $this->qrBill = $qrBill; |
||
| 18 | $this->language = $language; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getQrBill() : ?QrBill |
||
| 22 | { |
||
| 23 | return $this->qrBill; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getLanguage(): ?string |
||
| 27 | { |
||
| 28 | return $this->language; |
||
| 29 | } |
||
| 30 | |||
| 31 | protected function getInformationElements() : array |
||
| 49 | } |
||
| 50 | |||
| 51 | protected function getInformationElementsOfReceipt() : array |
||
| 52 | { |
||
| 57 | } |
||
| 58 | } |