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