## 명령어 사용 trash [] [] ### 등록된 휴지통(waste) 의 요약 정보 전체 휴지통 요약 정보 php artisan trash php artisan trash summary 게시판 휴지통 정보 보기 php artisan trash summary board ### 등록된 휴지통(waste) 비우기 전체 휴지통 비우기 php artisan trash clean 게시판 휴지통 비우기 php artisan trash clean board
See also: Xpressengine\Trash\TrashManager manual
Author: XE Team (developers) (developers@xpressengine.com)
Inheritance: extends Illuminate\Console\Command
Example #1
0
 public function fire()
 {
     $names = $this->input->getArgument('names');
     $bins = $this->bins($names);
     $this->info('Clean up the recycle bin below.');
     $this->info('----------------------------------');
     parent::fire();
     $this->info('----------------------------------');
     if ($this->confirm('This action can not be undone. Do you want to continue? [yes|no]') == false) {
         $this->error('canceled');
         return null;
     }
     $trashManager = app('xe.trash');
     $trashManager->clean($bins);
 }