コード例 #1
0
ファイル: UploadArchive.php プロジェクト: silverstripe/cow
 /**
  * Upload archives
  *
  * @param Command $command
  * @param Version $version
  * @param string $directory Where to translate
  * @param string $awsProfile Name of aws profile to use
  */
 public function __construct(Command $command, Version $version, $directory = '.', $awsProfile = 'silverstripe')
 {
     parent::__construct($command);
     $this->version = $version;
     $this->awsProfile = $awsProfile;
     $this->project = new Project($directory);
 }
コード例 #2
0
ファイル: CreateProject.php プロジェクト: silverstripe/cow
 /**
  *
  * @param Command $command
  * @param Version $version
  * @param string $recipe
  * @param string $directory
  * @param string $repository
  */
 public function __construct(Command $command, Version $version, $recipe, $directory = '.', $repository = null)
 {
     parent::__construct($command);
     $this->setRecipe($recipe);
     $this->setVersion($version);
     $this->setDirectory($directory ?: '.');
     $this->setRepository($repository);
 }
コード例 #3
0
ファイル: ReleaseStep.php プロジェクト: silverstripe/cow
 /**
  * Create release step
  *
  * @param Command $command
  * @param Project $project
  * @param LibraryRelease $releasePlan
  */
 public function __construct(Command $command, Project $project, LibraryRelease $releasePlan = null)
 {
     parent::__construct($command);
     $this->setProject($project);
     $this->setReleasePlan($releasePlan);
 }
コード例 #4
0
ファイル: BuildArchive.php プロジェクト: silverstripe/cow
 /**
  * Build archives
  *
  * @param Command $command
  * @param \SilverStripe\Cow\Model\Versions\\SilverStripe\Cow\Model\\SilverStripe\Cow\Model\Release\Version $version
  * @param string $directory Where to translate
  * @param string $awsProfile Name of aws profile to use
  */
 public function __construct(Command $command, Version $version, $directory = '.')
 {
     parent::__construct($command);
     $this->version = $version;
     $this->project = new Project($directory);
 }
コード例 #5
0
ファイル: PlanRelease.php プロジェクト: silverstripe/cow
 public function __construct(Command $command, Project $project, Version $version)
 {
     parent::__construct($command);
     $this->setProject($project);
     $this->setVersion($version);
 }
コード例 #6
0
ファイル: Wait.php プロジェクト: silverstripe/cow
 /**
  * @param Command $command
  * @param \SilverStripe\Cow\Model\Versions\\SilverStripe\Cow\Model\Release\Version $version
  */
 public function __construct(Command $command, Version $version)
 {
     parent::__construct($command);
     $this->version = $version;
 }