1 | <?php |
||
32 | class DeploymentWrapper implements DeploymentInterface |
||
33 | { |
||
34 | |||
35 | /** |
||
36 | * The deployment instance we want to wrap. |
||
37 | * |
||
38 | * @var \AppserverIo\Psr\Deployment\DeploymentInterface |
||
39 | */ |
||
40 | protected $deployment; |
||
41 | |||
42 | /** |
||
43 | * Injects the deployment instance we want to wrap. |
||
44 | * |
||
45 | * @param \AppserverIo\Psr\Deployment\DeploymentInterface $deployment The deployment instance to be wrapped |
||
46 | * |
||
47 | * @return void |
||
48 | */ |
||
49 | public function injectDeployment(DeploymentInterface $deployment) |
||
53 | |||
54 | /** |
||
55 | * Returns the wrapped deployment instance. |
||
56 | * |
||
57 | * @return \AppserverIo\Psr\Deployment\DeploymentInterface The wrapped deployment instance |
||
58 | */ |
||
59 | public function getDeployment() |
||
63 | |||
64 | /** |
||
65 | * Initializes the available applications and adds them to the container. |
||
66 | * |
||
67 | * @return void |
||
68 | */ |
||
69 | public function deploy() |
||
73 | } |
||
74 |