| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class TbBackupCommand extends Command |
||
| 10 | { |
||
| 11 | protected $signature = 'tb_backup:run |
||
| 12 | {--databaseOnly : Only backup the configuration database} |
||
| 13 | {--filesOnly : Only backup the file system}'; |
||
| 14 | protected $description = 'Creates a backup of the Tech Bench application'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Create a new command instance |
||
| 18 | */ |
||
| 19 | public function __construct() |
||
| 20 | { |
||
| 21 | parent::__construct(); |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Manually run a system backup |
||
| 26 | */ |
||
| 27 | public function handle() |
||
| 39 | } |
||
| 40 | } |
||
| 41 |