| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | abstract class AbstractBuildJob extends AbstractJob |
||
| 6 | { |
||
| 7 | /** @var bool */ |
||
| 8 | protected $isSingleBranch; |
||
| 9 | |||
| 10 | /** @var string */ |
||
| 11 | protected $dockerImageName; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * AbstractBuildJob constructor. |
||
| 15 | * @param string $envName |
||
| 16 | * @param string $serviceName |
||
| 17 | */ |
||
| 18 | public function __construct(string $envName, string $serviceName) |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return bool |
||
| 26 | */ |
||
| 27 | public function isSingleBranch(): bool |
||
| 28 | { |
||
| 29 | return $this->isSingleBranch; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getDockerImageName(): string |
||
| 38 | } |
||
| 39 | } |
||
| 40 |