object are good
This commit is contained in:
parent
ebf3791cca
commit
37a4d956ef
|
@ -11,6 +11,19 @@ class imageConfigConfig extends objectStructs
|
||||||
/** @var \stdClass */
|
/** @var \stdClass */
|
||||||
public $ExposedPorts;
|
public $ExposedPorts;
|
||||||
|
|
||||||
|
public function __construct($Result = null)
|
||||||
|
{
|
||||||
|
parent::__construct($Result);
|
||||||
|
if (isset($Result->ExposedPorts) )
|
||||||
|
{
|
||||||
|
$this->ExposedPorts = new \stdClass();
|
||||||
|
foreach($Result->ExposedPorts as $port => $Value)
|
||||||
|
{
|
||||||
|
$this->ExposedPorts->$port = $Value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue