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. |
||
---|---|---|
.. | ||
enum | ||
interface | ||
widgets | ||
Billing.php | ||
CeleryManager.php | ||
CORSHelper.php | ||
Database.php | ||
DateHelper.php | ||
FileDataHelper.php | ||
FileIO.php | ||
GoogleAnalytics.php | ||
HTTPHelper.php | ||
LocaleHelper.php | ||
OsPath.php | ||
PodcastManager.php | ||
ProvisioningHelper.php | ||
SecurityHelper.php | ||
SessionHelper.php | ||
TaskManager.php | ||
Timezone.php | ||
TuneIn.php | ||
UsabilityHints.php | ||
WidgetHelper.php |