/** * Throws a fatal error to test Bugsnag exceptions */ public function errorAction() { $testObject = new \stdClass(); $testObject->methodNotExists(); }