EnumerationsBasic EnumerationsEnumerations are a restricting layer on top of classes and class constants, intended to provide a way to define a closed set of possible values for a type. For a full discussion, see the Enumerations chapter. Casting
   If an enum is converted to an object, it is not
   modified. If an enum is converted to an array,
   an array with a single   |