myclabs/php-enum — pull request #2 by garoevans (2013-11-11 16:46:18+00:00)
Title: Add caching to `toArray` method

Reflection can be slow on occasions and this optimization should be beneficial if `toArray` is being called more than once per request.