reset() 공개 메소드

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');
 }