James Kuszmaul | 8e62b02 | 2022-03-22 09:33:25 -0700 | [diff] [blame^] | 1 | <?php |
| 2 | // automatically generated by the FlatBuffers compiler, do not modify |
| 3 | |
| 4 | namespace NamespaceA\NamespaceB; |
| 5 | |
| 6 | class UnionInNestedNS |
| 7 | { |
| 8 | const NONE = 0; |
| 9 | const TableInNestedNS = 1; |
| 10 | |
| 11 | private static $names = array( |
| 12 | UnionInNestedNS::NONE=>"NONE", |
| 13 | UnionInNestedNS::TableInNestedNS=>"TableInNestedNS", |
| 14 | ); |
| 15 | |
| 16 | public static function Name($e) |
| 17 | { |
| 18 | if (!isset(self::$names[$e])) { |
| 19 | throw new \Exception(); |
| 20 | } |
| 21 | return self::$names[$e]; |
| 22 | } |
| 23 | } |