| Total Complexity | 10 |
| Total Lines | 65 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class MollieMethodImage implements MollieMethodImageInterface |
||
| 15 | { |
||
| 16 | /** @var int|null */ |
||
| 17 | protected $id; |
||
| 18 | |||
| 19 | /** @var string|null */ |
||
| 20 | protected $name; |
||
| 21 | |||
| 22 | /** @var \SplFileInfo|null */ |
||
| 23 | protected $file; |
||
| 24 | |||
| 25 | /** @var string */ |
||
| 26 | protected $path; |
||
| 27 | |||
| 28 | /** @var MollieGatewayConfigInterface */ |
||
| 29 | protected $mollieGatewayConfig; |
||
| 30 | |||
| 31 | public function getId(): ?int |
||
| 32 | { |
||
| 33 | return $this->id; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getName(): ?string |
||
| 37 | { |
||
| 38 | return $this->name; |
||
| 39 | } |
||
| 40 | |||
| 41 | public function setName(?string $name): void |
||
| 42 | { |
||
| 43 | $this->name = $name; |
||
| 44 | } |
||
| 45 | |||
| 46 | public function getFile(): ?\SplFileInfo |
||
| 49 | } |
||
| 50 | |||
| 51 | public function setFile(?\SplFileInfo $file): void |
||
| 52 | { |
||
| 53 | $this->file = $file; |
||
| 54 | } |
||
| 55 | |||
| 56 | public function getPath(): ?string |
||
| 57 | { |
||
| 58 | return $this->path; |
||
| 59 | } |
||
| 60 | |||
| 61 | public function setPath(?string $path): void |
||
| 64 | } |
||
| 65 | |||
| 66 | public function getMollieGatewayConfig(): MollieGatewayConfigInterface |
||
| 69 | } |
||
| 70 | |||
| 71 | public function setMollieGatewayConfig(MollieGatewayConfigInterface $mollieGatewayConfig): void |
||
| 74 | } |
||
| 75 | |||
| 76 | public function hasFile(): bool |
||
| 79 | } |
||
| 80 | } |
||
| 81 |