| 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() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return $this |
||
| 44 | */ |
||
| 45 | public function repository($id, $uri, $repoType = 'vcs') |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return $this |
||
| 55 | */ |
||
| 56 | public function removeRepository($id) |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return $this |
||
| 64 | */ |
||
| 65 | public function disableRepository($id) |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @return $this |
||
| 74 | */ |
||
| 75 | public function enableRepository($id) |
||
| 81 | |||
| 82 | /** |
||
| 83 | * {@inheritdoc} |
||
| 84 | */ |
||
| 85 | public function run() |
||
| 91 | } |
||
| 92 |