| Total Complexity | 1 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 7 | class PublishCommand extends Command |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Signature to be used for calling the command from the cli, along with arguments and options. |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $signature = 'rakshak:publish {--force : Overwrite any existing files}'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Describe what the command does. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $description = 'Publish all Rakshak views and config.'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Handle the execution logic for the command. |
||
| 25 | * Publish the config and views of Rakshak. |
||
| 26 | * |
||
| 27 | * @return void |
||
| 28 | */ |
||
| 29 | public function handle(): void |
||
| 42 |