| Total Complexity | 6 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 23 | class Settings implements \JsonSerializable { |
||
| 24 | /** |
||
| 25 | * The debug state of the app. |
||
| 26 | */ |
||
| 27 | private $debug; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * The color state of the app. |
||
| 31 | */ |
||
| 32 | private $color; |
||
| 33 | |||
| 34 | public function __construct($debug, $color) { |
||
| 37 | } |
||
| 38 | |||
| 39 | public function getDebug() { |
||
| 40 | return $this->debug; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function setDebug($debug) { |
||
| 44 | $this->debug = $debug; |
||
| 45 | } |
||
| 46 | |||
| 47 | public function getColor() { |
||
| 48 | return $this->color; |
||
| 49 | } |
||
| 50 | |||
| 51 | public function setColor() { |
||
| 52 | $this->color = $color; |
||
|
|
|||
| 53 | } |
||
| 54 | |||
| 55 | public function jsonSerialize() |
||
| 58 | } |
||
| 59 | } |