| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait UtilityTrait |
||
| 8 | { |
||
| 9 | /** @var string */ |
||
| 10 | private static $utility = 'nmcli'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @return string |
||
| 14 | */ |
||
| 15 | public function getUtility() |
||
| 16 | { |
||
| 17 | return implode(' ', array_merge($this->getEnvs(), [ |
||
| 18 | static::$utility, |
||
|
|
|||
| 19 | ])); |
||
| 20 | } |
||
| 21 | |||
| 22 | private function getEnvs() |
||
| 26 | ]; |
||
| 27 | } |
||
| 29 |