| 1 | <?php |
||
| 14 | class Config extends Base |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * {@inheritdoc} |
||
| 18 | */ |
||
| 19 | protected $action = 'config'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Set a configuration value |
||
| 23 | * @return $this |
||
| 24 | */ |
||
| 25 | public function set($key, $value) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Operate on the global repository |
||
| 34 | * @return $this |
||
| 35 | */ |
||
| 36 | public function useGlobal($useGlobal = true) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return $this |
||
| 46 | */ |
||
| 47 | public function repository($id, $uri, $repoType = 'vcs') |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return $this |
||
| 57 | */ |
||
| 58 | public function removeRepository($id) |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return $this |
||
| 66 | */ |
||
| 67 | public function disableRepository($id) |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @return $this |
||
| 76 | */ |
||
| 77 | public function enableRepository($id) |
||
| 83 | |||
| 84 | /** |
||
| 85 | * {@inheritdoc} |
||
| 86 | */ |
||
| 87 | public function run() |
||
| 93 | } |
||
| 94 |