Sleimanx2\Plastic\Console\Mapping\Reset::handle PHP Method

handle() public method

Execute the console command.
public handle ( )
    public function handle()
    {
        if (!$this->confirmToProceed()) {
            return;
        }
        $this->mappings->setSource($this->option('database'));
        $this->mappings->reset();
        $this->comment('Mapping repository reset successfully');
    }