Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class PostDispatchDeploymentEvent extends Event |
||
11 | { |
||
12 | /** |
||
13 | * @var DeployDefinitionInterface |
||
14 | */ |
||
15 | private $deployDefinition; |
||
16 | |||
17 | /** |
||
18 | * @var bool |
||
19 | */ |
||
20 | private $success; |
||
21 | |||
22 | /** |
||
23 | * PostDispatchDeploymentEvent constructor. |
||
24 | * @param DeployDefinitionInterface $deployDefinition |
||
25 | * @param bool $success |
||
26 | */ |
||
27 | public function __construct(DeployDefinitionInterface $deployDefinition, bool $success) |
||
28 | { |
||
29 | $this->deployDefinition = $deployDefinition; |
||
30 | $this->success = $success; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @return DeployDefinitionInterface |
||
35 | */ |
||
36 | public function getDeployDefinition(): DeployDefinitionInterface |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @return bool |
||
43 | */ |
||
44 | public function isSuccess(): bool |
||
47 | } |
||
48 | } |