public function supportsNormalization($data, $format = null) { if ($data instanceof \Docker\API\Model\HostConfig) { return true; } return false; }