public static function json($key = null, $default = null) { return \Illuminate\Http\Request::json($key, $default); }
/** * Get the inputs directly or from the batch request input * @return mixed */ protected function getInputs() { if (!is_null(self::$currentRequest)) { return self::$currentRequest->json()->all(); } else { return \Input::all(); } }