sintonia/airtime_mvc/application/common
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
..
enum stop using reflection in prooduction code 2017-03-03 22:48:19 +01:00
interface
widgets
Billing.php
CeleryManager.php Mute 'Waiting for Celery task' logging 2015-11-27 17:22:05 -05:00
CORSHelper.php
Database.php
DateHelper.php
FileDataHelper.php
FileIO.php Vendorize ZF1, fix PHPUnit and configure travis 2017-02-27 17:59:01 +01:00
GoogleAnalytics.php
HTTPHelper.php
LocaleHelper.php
OsPath.php
PodcastManager.php Vendorize ZF1, fix PHPUnit and configure travis 2017-02-27 17:59:01 +01:00
ProvisioningHelper.php
SecurityHelper.php
SessionHelper.php
TaskManager.php stop using reflection in prooduction code 2017-03-03 22:48:19 +01:00
Timezone.php
TuneIn.php
UsabilityHints.php
WidgetHelper.php Fix unnecessary HTTPS redirect to reduce traffic 2015-12-08 17:47:07 -05:00