| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | 1 | protected function configure() |
|
| 27 | { |
||
| 28 | 1 | parent::configure(); |
|
| 29 | |||
| 30 | 1 | $this->setName('config:unset'); |
|
| 31 | 1 | $this->setDescription('Removes the given setting from the configuration'); |
|
| 32 | 1 | $this->addArgument('setting', InputArgument::REQUIRED, 'The setting to remove'); |
|
| 33 | 1 | $this->setHelp(<<<EOT |
|
| 34 | The <info>config:unset</info> command lets you remove a given setting (and it's value) in the global configuration. |
||
| 35 | |||
| 36 | To list all stored settings and values, use the <info>config.list</info> command. |
||
| 37 | EOT |
||
| 38 | 1 | ); |
|
| 39 | 1 | } |
|
| 40 | |||
| 57 |