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

handle() public method

Execute the console command.
public handle ( )
    public function handle()
    {
        if (!$this->confirmToProceed()) {
            return;
        }
        $this->call('mapping:reset', ['--database' => $this->option('database'), '--force' => true]);
        $this->call('mapping:run', ['--database' => $this->option('database'), '--force' => true]);
    }