| 1 | <?php |
||
| 13 | final class StepRoute extends AbstractStep |
||
| 14 | { |
||
| 15 | /** @var string */ |
||
| 16 | private $target; |
||
| 17 | |||
| 18 | /** @var string */ |
||
| 19 | private $map; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $applicationName; |
||
| 25 | |||
| 26 | /** @var string */ |
||
| 27 | private $hostname; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * |
||
| 31 | * @param array $configuration Current application configuration. |
||
| 32 | * @param string $applicationName Name of the CF-application to be checked |
||
| 33 | * @param string $targetName Name of the target (deploy or old) |
||
| 34 | * @param string $subdomain Used a the subdomain for the application route. |
||
| 35 | * @param string $map Art of the map (map or unmap) |
||
| 36 | */ |
||
| 37 | 7 | public function __construct(array $configuration, $applicationName, $targetName, $subdomain, $map) |
|
| 46 | |||
| 47 | /** |
||
| 48 | * returns the command |
||
| 49 | * |
||
| 50 | * @return array |
||
| 51 | */ |
||
| 52 | 4 | public function getCommand() |
|
| 63 | } |
||
| 64 |