reset() public method

Remove all mapping logs from the repository.
public reset ( )
コード例 #1
0
ファイル: Reset.php プロジェクト: sleimanx2/plastic
 /**
  * Execute the console command.
  */
 public function handle()
 {
     if (!$this->confirmToProceed()) {
         return;
     }
     $this->mappings->setSource($this->option('database'));
     $this->mappings->reset();
     $this->comment('Mapping repository reset successfully');
 }