1<?php 2// automatically generated by the FlatBuffers compiler, do not modify 3 4namespace MyGame\Example; 5 6class AnyUniqueAliases 7{ 8 const NONE = 0; 9 const M = 1; 10 const TS = 2; 11 const M2 = 3; 12 13 private static $names = array( 14 AnyUniqueAliases::NONE=>"NONE", 15 AnyUniqueAliases::M=>"M", 16 AnyUniqueAliases::TS=>"TS", 17 AnyUniqueAliases::M2=>"M2", 18 ); 19 20 public static function Name($e) 21 { 22 if (!isset(self::$names[$e])) { 23 throw new \Exception(); 24 } 25 return self::$names[$e]; 26 } 27} 28