| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class DesktopBuilder implements BuilderInterface |
||
| 17 | { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected $params; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $key |
||
| 26 | * @param $value |
||
| 27 | * @return $this |
||
| 28 | */ |
||
| 29 | public function addParam(string $key, $value): BuilderInterface |
||
| 30 | { |
||
| 31 | $this->params[$key] = $value; |
||
| 32 | |||
| 33 | return $this; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return AbstractComputer |
||
| 38 | */ |
||
| 39 | public function getComputer(): AbstractComputer |
||
| 42 | } |
||
| 43 | } |
||
| 44 |