| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | abstract class AbstractOpts { |
||
| 20 | |||
| 21 | protected $options = []; |
||
| 22 | |||
| 23 | |||
| 24 | /** |
||
| 25 | * @brief Resets the options. |
||
| 26 | */ |
||
| 27 | public function reset() { |
||
| 28 | unset($this->options); |
||
| 29 | $this->options = []; |
||
| 30 | } |
||
| 31 | |||
| 32 | |||
| 33 | /** |
||
| 34 | * @brief Returns an associative array of the chosen options. |
||
| 35 | * @return array An associative array. |
||
| 36 | */ |
||
| 37 | public function asArray() { |
||
| 39 | } |
||
| 40 | |||
| 41 | } |