Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
38 | private function getOptionsAsJson() |
||
39 | { |
||
40 | $options = [ |
||
41 | 'host' => $this->configuration->getHost(), |
||
42 | 'enableFluid' => $this->configuration->isFluidEnabled(), |
||
43 | 'enableObservation' => $this->configuration->isObservationEnabled(), |
||
44 | 'imgix' => $this->configuration->getImgixFluidOptions(), |
||
45 | ]; |
||
46 | return json_encode($options, JSON_FORCE_OBJECT); |
||
47 | } |
||
48 | } |
||
49 |