BuiltinEnumClass contains the utility methods provided by enum classes

Under the hood, an enum class Foo : Bar will extend BuiltinEnumClass<HH\MemberOf<this, Bar>>.

HHVM provides a native implementation for this class. The PHP class definition below is not actually used at run time; it is simply provided for the typechecker and for developer reference.

Interface Synopsis

namespace HH;

abstract class BuiltinEnumClass extends BuiltinAbstractEnumClass {...}

Public Methods

Public Methods (HH\BuiltinAbstractEnumClass)