object are good
This commit is contained in:
@@ -11,6 +11,19 @@ class imageConfigConfig extends objectStructs
|
||||
/** @var \stdClass */
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/*
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user