You are here

public function Provision_ComposerCreateProject::validateProvisionVerify in Aegir Deploy 7.3

File

modules/platform_composer/drush/Provision/ComposerCreateProject.php, line 24
The Provision_ComposerCreateProject class.

Class

Provision_ComposerCreateProject
@file The Provision_ComposerCreateProject class.

Code

public function validateProvisionVerify() {
  if ($this
    ->pathExists($this->path)) {
    return $this
      ->notice(dt('Composer project path already exists. Aborting.'));
  }
  else {
    return $this
      ->deployPlatform();
  }
}