| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 53.33% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | final class Tips { |
||
| 16 | public Utdelning $utdelning; |
||
| 17 | public Matcher $matcher; |
||
| 18 | public Prediktioner $odds; |
||
| 19 | public Prediktioner $streck; |
||
| 20 | public Parallellisering $parallellisering; |
||
| 21 | public Spelade $spelade; |
||
| 22 | public Moduler $moduler; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Instantiera en rad klasser. |
||
| 26 | */ |
||
| 27 | 4 | public function __construct(public Spel $spel) { |
|
| 28 | 4 | $this->utdelning = new Utdelning($this->spel); |
|
| 29 | 4 | $this->matcher = new Matcher($this->spel); |
|
| 30 | 4 | $this->odds = new Prediktioner($this->spel, 'odds'); |
|
| 31 | 4 | $this->streck = new Prediktioner($this->spel, 'streck'); |
|
| 32 | 4 | $this->parallellisering = new Parallellisering($this->spel); |
|
| 33 | 4 | $this->spelade = new Spelade($this->utdelning, $this->matcher); |
|
| 34 | 4 | $this->moduler = new Moduler($this->utdelning, $this->odds, $this->streck, $this->matcher); |
|
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Spara tipsdata. |
||
| 39 | */ |
||
| 40 | public function spara_tips(): void { |
||
| 47 | } |
||
| 48 | } |
||
| 49 |