public function supportObject($object) { return $object instanceof JsonSchema && is_array($object->getAllOf()) && count($object->getAllOf()) > 0; }