/** * @param string $deploymentName The deployment name * @param string $configurationPath Path for deployment configuration files * * @return void */ public function simulatePushCommand($deploymentName, $configurationPath = null) { try { $this->initializeDeployment($deploymentName, $configurationPath, LOG_DEBUG); $this->deployment->setDryRun(true); $this->log('Simulating database and resources push.'); $this->runPush(); } catch (TaskExecutionException $e) { $this->log('An error occurred during the simulation of the push: ' . $e->getMessage(), LOG_ERR); } }