| 1 | <?php |
||
| 15 | class Container |
||
| 16 | { |
||
| 17 | const DIC = self::class; |
||
| 18 | |||
| 19 | public $type = ''; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var Docker |
||
| 23 | */ |
||
| 24 | public $docker = null; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var DockerPortMapping[] |
||
| 28 | */ |
||
| 29 | public $portMappings = []; |
||
| 30 | |||
| 31 | |||
| 32 | /** |
||
| 33 | * @var ContainerVolume[] |
||
| 34 | */ |
||
| 35 | public $volumes = []; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Container constructor. |
||
| 39 | * @param array $data |
||
| 40 | */ |
||
| 41 | 8 | public function __construct($data = []) |
|
| 54 | } |
||
| 55 |