* @license http://www.apache.org/licenses/LICENSE-2.0 * @link http://phpsx.org */ class Protobuf extends GeneratorAbstract { protected function getDate(): string { return 'Timestamp'; } protected function getDateTime(): string { return 'Timestamp'; } protected function getBinary(): string { return 'bytes'; } protected function getString(): string { return 'string'; } protected function getInteger32(): string { return 'int32'; } protected function getInteger64(): string { return 'int64'; } protected function getInteger(): string { return 'int64'; } protected function getNumber(): string { return 'float'; } protected function getBoolean(): string { return 'bool'; } protected function getArray(string $type): string { return 'repeated ' . $type; } protected function getMap(string $type): string { return 'map'; } protected function getUnion(array $types): string { return 'Struct'; } protected function getIntersection(array $types): string { return 'Struct'; } protected function getGroup(string $type): string { return '(' . $type . ')'; } protected function getGeneric(array $types): string { return ''; } protected function getAny(): string { return 'Any'; } protected function getNamespaced(string $namespace, string $name): string { return $namespace . '.' . $name; } } __halt_compiler();----SIGNATURE:----MeHfIEfLt62BYpjr+FB1z8IcorrbGcgcVKFxAqkb8/mlSxycjQxWFy2M5hd50V5pQNpoubMeo6KGzE/sH2f1Q97O4+Q1cj0HgZVJQ+DH8Sk+tzccmYG3lRVs2UhEFJof0jpbsZmeEQS91aQE1Gp7HToR28koJ6gaG4WE9cuO2BLwHw/XQfyoW37Es01KpZL3LPZVog9Ay+Kl359My/HQwlv6joNaxUxQJ5+tJOj5t+0ttoJL8QINp9IVITGN4nJuBqEnLUe9bLJjQ+dr3TPh5ghSh8mcMRNjChQVV04ZAjvor4ASRbAVKViz93mwMfBvDc1T5FKBXkm2uzRFDGxwQuMq9pHmffBHvCHLyTidNJ84Zbziq7QTNqD/pgjYA15b+NBU21dq8EWDmKGkftK2pgb2i75ewW7k6fCzupintaanacRSZ/eHCxz/rkbLkr9bAuRPtD3NLShF4/HwBnO02USL0wZcZEanOt2oTMrrH+VXSOMXOwD87cpRvKnoSp6RogpFntJ/JWnHSWbmFzeNGxLAwvQErzYL2a6vkhZHm8sScs0joQRS1xt4LL+IxrQdGTWDvgKV2sEvj6Gm5Grr58DcojB+g3yYLyTETZtI3b+nWVHYfj0aQt0Wb5B/qAF8maKBk8j+B7RJF5G0wTTWE1gNVC1vm5ckTKXX5+STJ4I=----ATTACHMENT:----MzQyODgzOTY4NjY0ODIxMCA5NTM5OTkwNzU5NjU0OTY5IDY1MjE4ODAzMjk5MzE0MTI=