1 | <?php |
||
22 | class Config extends Base |
||
23 | { |
||
24 | /** |
||
25 | * Does git have a configuration key |
||
26 | * |
||
27 | * @param string $name |
||
28 | * @return boolean |
||
29 | */ |
||
30 | 1 | public function has(string $name) : bool |
|
36 | |||
37 | |||
38 | /** |
||
39 | * Get a configuration key value |
||
40 | * |
||
41 | * @param string $name |
||
42 | * @return string |
||
43 | */ |
||
44 | 1 | public function get(string $name) : string |
|
50 | |||
51 | /** |
||
52 | * Run the get config command |
||
53 | * |
||
54 | * @param string $name |
||
55 | * @return \SebastianFeldmann\Cli\Command\Runner\Result |
||
56 | */ |
||
57 | 2 | private function configCommand(string $name) : Result |
|
66 | } |
||
67 |