HH\BuiltinEnumClass

BuiltinEnumClass contains the utility methods provided by enum classes

Under the hood, an enum class Foo : Bar will extend BuiltinEnumClass<HH\Elt<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 {...}

Public Methods