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