Total Complexity | 6 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
10 | class SheetNotFoundException extends RuntimeException implements ProvidesSolution |
||
11 | { |
||
12 | /** @var string */ |
||
13 | protected $collection; |
||
14 | |||
15 | /** @var string */ |
||
16 | protected $sheet; |
||
17 | |||
18 | 6 | public static function make(string $collection, string $path): self |
|
21 | } |
||
22 | |||
23 | 5 | public function getCollection(): string |
|
26 | } |
||
27 | |||
28 | 6 | public function setCollection(string $collection): self |
|
29 | { |
||
30 | 6 | $this->collection = $collection; |
|
31 | |||
32 | 6 | return $this; |
|
33 | } |
||
34 | |||
35 | 5 | public function getSheet(): string |
|
38 | } |
||
39 | |||
40 | 6 | public function setSheet(string $sheet): self |
|
45 | } |
||
46 | |||
47 | 4 | public function getSolution(): Solution |
|
52 |