blob: bcb22b759421b3f054bcac3db81ff247b1c15de0 [file] [log] [blame]
Austin Schuhe89fa2d2019-08-14 20:24:23 -07001<?php
2// automatically generated by the FlatBuffers compiler, do not modify
3
4namespace NamespaceA\NamespaceB;
5
6class EnumInNestedNS
7{
8 const A = 0;
9 const B = 1;
10 const C = 2;
11
12 private static $names = array(
13 EnumInNestedNS::A=>"A",
14 EnumInNestedNS::B=>"B",
15 EnumInNestedNS::C=>"C",
16 );
17
18 public static function Name($e)
19 {
20 if (!isset(self::$names[$e])) {
21 throw new \Exception();
22 }
23 return self::$names[$e];
24 }
25}