This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from ipunkt/replace-upgrade
Replace upgrade
- Loading branch information
Showing
39 changed files
with
1,159 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?php namespace Rancherize\Commands\Events; | ||
|
||
use Rancherize\Configuration\Configuration; | ||
use Symfony\Component\EventDispatcher\Event; | ||
|
||
/** | ||
* Class PushCommandInServiceUpgradeEvent | ||
* @package Rancherize\Commands\Events | ||
*/ | ||
class PushCommandCreateEvent extends Event { | ||
|
||
const NAME = 'push.create'; | ||
|
||
/** | ||
* @var string[] | ||
*/ | ||
protected $serviceNames; | ||
|
||
/** | ||
* @var Configuration | ||
*/ | ||
protected $configuration; | ||
|
||
/** | ||
* @return \string[] | ||
*/ | ||
public function getServiceNames(): array { | ||
return $this->serviceNames; | ||
} | ||
|
||
/** | ||
* @param \string[] $serviceNames | ||
*/ | ||
public function setServiceNames( array $serviceNames ) { | ||
$this->serviceNames = $serviceNames; | ||
} | ||
|
||
/** | ||
* @return Configuration | ||
*/ | ||
public function getConfiguration(): Configuration { | ||
return $this->configuration; | ||
} | ||
|
||
/** | ||
* @param Configuration $configuration | ||
*/ | ||
public function setConfiguration( Configuration $configuration ) { | ||
$this->configuration = $configuration; | ||
} | ||
|
||
} |
Oops, something went wrong.