Response
Illuminate\Support\Facades\Response
class src/Illuminate/Support/Facades/Response.php
download
v11.0.0 以前から
static @method
static download(\SplFileInfo|string $file, string|null $name = null, array $headers = [], string|null $disposition = 'attachment'): \Symfony\Component\HttpFoundation\BinaryFileResponse
-
v11.0.0
追加
- 変更後
@method static download(\SplFileInfo|string $file, string|null $name = null, array $headers = [], string|null $disposition = 'attachment'): \Symfony\Component\HttpFoundation\BinaryFileResponse
eventStream
v11.42.1 から
static @method
static eventStream(\Closure $callback, array $headers = [], \Illuminate\Http\StreamedEvent|string|null $endStreamWith = '</stream>'): \Symfony\Component\HttpFoundation\StreamedResponse
-
v11.42.1
追加
- 変更後
@method static eventStream(\Closure $callback, array $headers = [], string $endStreamWith = '</stream>'): \Symfony\Component\HttpFoundation\StreamedResponse
-
v12.1.0
シグネチャ変更
- 変更前
@method static eventStream(\Closure $callback, array $headers = [], string $endStreamWith = '</stream>'): \Symfony\Component\HttpFoundation\StreamedResponse- 変更後
@method static eventStream(\Closure $callback, array $headers = [], \Illuminate\Http\StreamedEvent|string|null $endStreamWith = '</stream>'): \Symfony\Component\HttpFoundation\StreamedResponse
file
v11.0.0 以前から
static @method
static file(\SplFileInfo|string $file, array $headers = []): \Symfony\Component\HttpFoundation\BinaryFileResponse
-
v11.0.0
追加
- 変更後
@method static file(\SplFileInfo|string $file, array $headers = []): \Symfony\Component\HttpFoundation\BinaryFileResponse
flushMacros
v11.0.0 以前から
static @method
static flushMacros(): void
-
v11.0.0
追加
- 変更後
@method static flushMacros(): void
hasMacro
v11.0.0 以前から
static @method
static hasMacro(string $name): bool
-
v11.0.0
追加
- 変更後
@method static hasMacro(string $name): bool
json
v11.0.0 以前から
static @method
static json(mixed $data = [], int $status = 200, array $headers = [], int $options = 0): \Illuminate\Http\JsonResponse
-
v11.0.0
追加
- 変更後
@method static json(mixed $data = [], int $status = 200, array $headers = [], int $options = 0): \Illuminate\Http\JsonResponse
jsonp
v11.0.0 以前から
static @method
static jsonp(string $callback, mixed $data = [], int $status = 200, array $headers = [], int $options = 0): \Illuminate\Http\JsonResponse
-
v11.0.0
追加
- 変更後
@method static jsonp(string $callback, mixed $data = [], int $status = 200, array $headers = [], int $options = 0): \Illuminate\Http\JsonResponse
macro
v11.0.0 以前から
static @method
static macro(string $name, object|callable $macro): void
-
v11.0.0
追加
- 変更後
@method static macro(string $name, object|callable $macro): void
-
v11.8.0
シグネチャ変更
- 変更前
@method static macro(string $name, object|callable $macro): void- 変更後
@method static macro(string $name, object|callable $macro, object|callable $macro = null): void
-
v11.23.3
シグネチャ変更
- 変更前
@method static macro(string $name, object|callable $macro, object|callable $macro = null): void- 変更後
@method static macro(string $name, object|callable $macro): void
make
v11.0.0 以前から
static @method
static make(mixed $content = '', int $status = 200, array $headers = []): \Illuminate\Http\Response
-
v11.0.0
追加
- 変更後
@method static make(mixed $content = '', int $status = 200, array $headers = []): \Illuminate\Http\Response
markdown
v13.35.0 から
static @method
static markdown(string $content = '', int $status = 200, array $headers = []): \Illuminate\Http\Response
-
v13.35.0
追加
- 変更後
@method static markdown(string $content = '', int $status = 200, array $headers = []): \Illuminate\Http\Response
mixin
v11.0.0 以前から
static @method
static mixin(object $mixin, bool $replace = true): void
-
v11.0.0
追加
- 変更後
@method static mixin(object $mixin, bool $replace = true): void
noContent
v11.0.0 以前から
static @method
static noContent(int $status = 204, array $headers = []): \Illuminate\Http\Response
-
v11.0.0
追加
- 変更後
@method static noContent(int $status = 204, array $headers = []): \Illuminate\Http\Response
redirectGuest
v11.0.0 以前から
static @method
static redirectGuest(string $path, int $status = 302, array $headers = [], bool|null $secure = null): \Illuminate\Http\RedirectResponse
-
v11.0.0
追加
- 変更後
@method static redirectGuest(string $path, int $status = 302, array $headers = [], bool|null $secure = null): \Illuminate\Http\RedirectResponse
redirectTo
v11.0.0 以前から
static @method
static redirectTo(string $path, int $status = 302, array $headers = [], bool|null $secure = null): \Illuminate\Http\RedirectResponse
-
v11.0.0
追加
- 変更後
@method static redirectTo(string $path, int $status = 302, array $headers = [], bool|null $secure = null): \Illuminate\Http\RedirectResponse
redirectToAction
v11.0.0 以前から
static @method
static redirectToAction(array|string $action, mixed $parameters = [], int $status = 302, array $headers = []): \Illuminate\Http\RedirectResponse
-
v11.0.0
追加
- 変更後
@method static redirectToAction(array|string $action, mixed $parameters = [], int $status = 302, array $headers = []): \Illuminate\Http\RedirectResponse
redirectToIntended
v11.0.0 以前から
static @method
static redirectToIntended(string $default = '/', int $status = 302, array $headers = [], bool|null $secure = null): \Illuminate\Http\RedirectResponse
-
v11.0.0
追加
- 変更後
@method static redirectToIntended(string $default = '/', int $status = 302, array $headers = [], bool|null $secure = null): \Illuminate\Http\RedirectResponse
redirectToRoute
v11.0.0 以前から
static @method
static redirectToRoute(\BackedEnum|string $route, mixed $parameters = [], int $status = 302, array $headers = []): \Illuminate\Http\RedirectResponse
-
v11.0.0
追加
- 変更後
@method static redirectToRoute(string $route, mixed $parameters = [], int $status = 302, array $headers = []): \Illuminate\Http\RedirectResponse
-
v11.32.0
シグネチャ変更
- 変更前
@method static redirectToRoute(string $route, mixed $parameters = [], int $status = 302, array $headers = []): \Illuminate\Http\RedirectResponse- 変更後
@method static redirectToRoute(\BackedEnum|string $route, mixed $parameters = [], int $status = 302, array $headers = []): \Illuminate\Http\RedirectResponse
stream
v11.0.0 以前から
static @method
static stream(callable|null $callback, int $status = 200, array $headers = []): \Symfony\Component\HttpFoundation\StreamedResponse
-
v11.0.0
追加
- 変更後
@method static stream(callable $callback, int $status = 200, array $headers = []): \Symfony\Component\HttpFoundation\StreamedResponse
-
v12.16.0
シグネチャ変更
- 変更前
@method static stream(callable $callback, int $status = 200, array $headers = []): \Symfony\Component\HttpFoundation\StreamedResponse- 変更後
@method static stream(callable|null $callback, int $status = 200, array $headers = []): \Symfony\Component\HttpFoundation\StreamedResponse
streamDownload
v11.0.0 以前から
static @method
static streamDownload(callable $callback, string|null $name = null, array $headers = [], string|null $disposition = 'attachment'): \Symfony\Component\HttpFoundation\StreamedResponse
-
v11.0.0
追加
- 変更後
@method static streamDownload(callable $callback, string|null $name = null, array $headers = [], string|null $disposition = 'attachment'): \Symfony\Component\HttpFoundation\StreamedResponse
streamJson
v11.0.0 以前から
static @method
static streamJson(array $data, int $status = 200, array $headers = [], int $encodingOptions = 15): \Symfony\Component\HttpFoundation\StreamedJsonResponse
-
v11.0.0
追加
- 変更後
@method static streamJson(array $data, int $status = 200, array $headers = [], int $encodingOptions = 15): \Symfony\Component\HttpFoundation\StreamedJsonResponse
view
v11.0.0 以前から
static @method
static view(string|array $view, array $data = [], int $status = 200, array $headers = []): \Illuminate\Http\Response
-
v11.0.0
追加
- 変更後
@method static view(string|array $view, array $data = [], int $status = 200, array $headers = []): \Illuminate\Http\Response