/** * @return bool */ public static function isDevelopmentModeActive() { $applicationContext = new self(); return $applicationContext->isDevelopmentApplicationContext() || $applicationContext->isDevelopPresetActive(); }