You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
494 B
26 lines
494 B
7 months ago
|
<?php
|
||
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||
|
|
||
|
namespace NamespaceA\NamespaceB;
|
||
|
|
||
|
class EnumInNestedNS
|
||
|
{
|
||
|
const A = 0;
|
||
|
const B = 1;
|
||
|
const C = 2;
|
||
|
|
||
|
private static $names = array(
|
||
|
EnumInNestedNS::A=>"A",
|
||
|
EnumInNestedNS::B=>"B",
|
||
|
EnumInNestedNS::C=>"C",
|
||
|
);
|
||
|
|
||
|
public static function Name($e)
|
||
|
{
|
||
|
if (!isset(self::$names[$e])) {
|
||
|
throw new \Exception();
|
||
|
}
|
||
|
return self::$names[$e];
|
||
|
}
|
||
|
}
|