sintonia/airtime_mvc/application/common/enum
Lucas Bickel 09aea8b747 stop using reflection in prooduction code
Problem: Reflection is a debugging tool and not really meant for use on production. There are easier ways to check if a class implements an interface with `is_a()`.

Solution: Get rid of reflection use and switch to `is_a()` in TaskManager, refactor the Enum thing that does not make sense since it is not being used.

The `is_a()` solution is really straightforward and has been supported in php for ages.

The Enum thing was a copy paste hack from stackoverflow and ignored the simple solution mentioned there while not using the features of the advanced one.
2017-03-03 22:48:19 +01:00
..
HttpRequestType.php stop using reflection in prooduction code 2017-03-03 22:48:19 +01:00
MediaType.php stop using reflection in prooduction code 2017-03-03 22:48:19 +01:00