blob: d35bfd639684140c63234f2c036d8fa5eea8afa9 [file] [log] [blame]
<?php
// automatically generated, do not modify
namespace MyGame\Example;
class Any
{
const NONE = 0;
const Monster = 1;
const TestSimpleTableWithEnum = 2;
private static $names = array(
"NONE",
"Monster",
"TestSimpleTableWithEnum",
);
public static function Name($e)
{
if (!isset(self::$names[$e])) {
throw new \Exception();
}
return self::$names[$e];
}
}