private function getApplication() { $application = new Application(); $application->setCatchExceptions(true); return $application; }