Kajona\System\System\ReflectionEnum

Enum to differ Value or Params cache

Synopsis

class ReflectionEnum extends EnumBase {
  • // constants
  • const VALUES = 1;
  • const PARAMS = 2;
}

Hierarchy

Constants

Name Value
VALUES 1
PARAMS 2

Methods

protected

  • getArrValues() — Return the array of possible, so allowed values for the current enum

Inherited from Kajona\System\System\EnumBase

protected

  • getArrValues() — Return the array of possible, so allowed values for the current enum

public

  • __callStatic() — Helper to generate possible instances of the current enum values.
  • __toString() — Prints the enums current value
  • equals() — Use this method to compare enum-instances