abort() public method

public abort ( integer $model_id )
$model_id integer
 /**
  * Abort a deployment.
  *
  * @param int $deployment_id
  *
  * @return \Illuminate\Http\RedirectResponse
  */
 public function abort($deployment_id)
 {
     $this->deploymentRepository->abort($deployment_id);
     return redirect()->route('deployments', ['id' => $deployment_id]);
 }