Crell/enum-comparison

Serialization

Closed this issue · 1 comments

The following object functionality is available, and behaves just as it does on any other object:

  • ...
  • __get, __call, __serialize, __deserialize, and __invoke magic methods

Does it actually make sense to __serialize and __deserialize? I see no point in this, you're not allowed to store properties on the enum anyway.

We disallowed those methods.