| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | trait optionsTrait |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * $options |
||
| 23 | * Options property |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | private $options = []; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * setOptions |
||
| 30 | * Set the Responsible API options |
||
| 31 | * @param array $options |
||
| 32 | */ |
||
| 33 | public function setOptions($options):void |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * getOptions |
||
| 40 | * Get the Responsible API options if set |
||
| 41 | * @return array |
||
| 42 | */ |
||
| 43 | public function getOptions():array |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * [setOption Set a single option] |
||
| 53 | * @param string $key |
||
| 54 | * @param mixed $value |
||
| 55 | */ |
||
| 56 | public function setOption($key, $value) |
||
| 59 | } |
||
| 60 | } |