| 1 | <?php |
||
| 5 | class ConfiguredContainers |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var ConfiguredContainerIds |
||
| 9 | */ |
||
| 10 | private $configuredContainerIds; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var ContainerDetails |
||
| 14 | */ |
||
| 15 | private $containerDetails; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param ConfiguredContainerIds $configuredContainerIds |
||
| 19 | * @param ContainerDetails $containerDetails |
||
| 20 | */ |
||
| 21 | public function __construct(ConfiguredContainerIds $configuredContainerIds, ContainerDetails $containerDetails) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return Container[] |
||
| 29 | */ |
||
| 30 | public function findAll() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | private function getRunningContainerIds() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param string $containerId |
||
| 45 | * |
||
| 46 | * @return Container |
||
| 47 | */ |
||
| 48 | private function findContainerById($containerId) |
||
| 52 | } |
||
| 53 |