| 1 | <?php |
||
| 13 | class ShortenerCommand extends Command |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * The name and signature of the console command. |
||
| 17 | * |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $signature = 'shortener:clean'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The console command description. |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | protected $description = 'Delete rows where column "code" is null'; |
||
| 28 | |||
| 29 | 2 | public function handle() |
|
| 41 | } |
||
| 42 |