• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?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        "A",
14        "B",
15        "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}
26