| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | class Get extends Base |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * The name of the configuration key to get |
||
| 28 | * |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | private $name; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * The name of the configuration key to get. |
||
| 35 | * |
||
| 36 | * @param string $name |
||
| 37 | 6 | * @return \SebastianFeldmann\Git\Command\Config\Get |
|
| 38 | */ |
||
| 39 | 6 | public function name(string $name): Get |
|
| 40 | { |
||
| 41 | 6 | $this->name = $name; |
|
| 42 | |||
| 43 | return $this; |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Return the command to execute. |
||
| 48 | * |
||
| 49 | 1 | * @return string |
|
| 50 | */ |
||
| 51 | 1 | protected function getGitCommand(): string |
|
| 54 | } |
||
| 55 | } |
||
| 56 |