isValid() isValid(string $value) : boolean Returns true the value is valid for this enum Parameters string $value Returns boolean — true if value is valid
validate() validate(string $value) Validates that the value passed is a valid value Parameters string $value Throws \InvalidArgumentException if the value passed is not valid for this enum