Reintroduced definitions for PHP GeneratedClassName() functions
We no longer use these functions, but it turns out that we need to keep them around for gRPC to use.
This commit is contained in:
parent
31f719618c
commit
fbbe11ae49
@ -2204,6 +2204,18 @@ void GenerateCWellKnownTypes(const std::vector<const FileDescriptor*>& files,
|
||||
|
||||
} // namespace
|
||||
|
||||
std::string GeneratedClassName(const Descriptor* desc) {
|
||||
return GeneratedClassNameImpl(desc);
|
||||
}
|
||||
|
||||
std::string GeneratedClassName(const EnumDescriptor* desc) {
|
||||
return GeneratedClassNameImpl(desc);
|
||||
}
|
||||
|
||||
std::string GeneratedClassName(const ServiceDescriptor* desc) {
|
||||
return GeneratedClassNameImpl(desc);
|
||||
}
|
||||
|
||||
bool Generator::Generate(const FileDescriptor* file,
|
||||
const std::string& parameter,
|
||||
GeneratorContext* generator_context,
|
||||
|
Loading…
Reference in New Issue
Block a user