/** * doExecute * * @return mixed */ protected function doExecute() { $convertOperator = new ConvertOperator($this->io); // Delete old folder first. if (file_exists($this->config['path.dest'])) { Folder::delete($this->config['path.dest']); } // Do convert. $convertOperator->copy($this->config['path.src'], $this->config['path.dest'], $this->replace); }
/** * doExecute * * @return mixed */ protected function doExecute() { $convertOperator = new ConvertOperator($this->io); $convertOperator->copy($this->config['path.src'], $this->config['path.dest'], $this->replace); }