You are here

protected function Provision_ComposerCreateProject::buildCreateProjectCommand in Aegir Deploy 7.3

1 call to Provision_ComposerCreateProject::buildCreateProjectCommand()
Provision_ComposerCreateProject::createProject in modules/platform_composer/drush/Provision/ComposerCreateProject.php

File

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

Class

Provision_ComposerCreateProject
@file The Provision_ComposerCreateProject class.

Code

protected function buildCreateProjectCommand() {
  $command = 'composer create-project --no-dev --no-interaction --no-progress';
  $command .= ' ' . escapeshellarg(trim($this->package));
  $command .= ' ' . escapeshellarg(trim($this->path));
  $command .= ' ' . escapeshellarg(trim($this->version));
  return $command;
}