1 | <?php |
||
15 | abstract class AbstractCommonStep extends AbstractStep |
||
16 | { |
||
17 | |||
18 | /** @var string */ |
||
19 | private $slice; |
||
20 | |||
21 | /** @var string */ |
||
22 | private $applicationName; |
||
23 | |||
24 | /** @var string Name of the step to be registered. */ |
||
25 | protected static $stepName; |
||
26 | |||
27 | /** |
||
28 | * |
||
29 | * @param array $configuration Current application configuration. |
||
30 | * @param string $applicationName Name of the CF-application to be checked |
||
31 | * @param string $slice deployment location in blue/green deployment. |
||
32 | * |
||
33 | * @link http://martinfowler.com/bliki/BlueGreenDeployment.html |
||
34 | */ |
||
35 | 12 | public function __construct(array $configuration, $applicationName, $slice) |
|
42 | |||
43 | /** |
||
44 | * returns the command |
||
45 | * |
||
46 | * @return array |
||
47 | */ |
||
48 | 7 | public function getCommand() |
|
56 | } |
||
57 |