/** * 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); }
/** * * @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); }
/** * 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); }
/** * 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); }
public function __construct(Command $command, Project $project, Version $version) { parent::__construct($command); $this->setProject($project); $this->setVersion($version); }
/** * @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; }