| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | final class TipsdataAjax { |
||
| 30 | use Ajax; |
||
|
|
|||
| 31 | |||
| 32 | private Spel $spel; |
||
| 33 | private Tips $tips; |
||
| 34 | private Tipsdata $tipsdata; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Inititiera. |
||
| 38 | */ |
||
| 39 | public function __construct() { |
||
| 40 | $this->spel = new Spel(); |
||
| 41 | $this->tips = new Tips($this->spel); |
||
| 42 | $this->tipsdata = new Tipsdata($this->spel); |
||
| 43 | $this->förgrena(); |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Hämta data från Svenska spel. |
||
| 48 | * js/funktioner.js: hämta_tips |
||
| 49 | */ |
||
| 50 | private function hämta_tips(): void { |
||
| 61 | } |
||
| 62 | } |
||
| 66 |