Файл: vendor/laravel/framework/src/Illuminate/Support/Facades/Response.php
Строк: 152
<?php
namespace IlluminateSupportFacades;
use IlluminateContractsRoutingResponseFactory as ResponseFactoryContract;
/**
* @method static IlluminateHttpResponse make(mixed $content = '', int $status = 200, array $headers = [])
* @method static IlluminateHttpResponse noContent(int $status = 204, array $headers = [])
* @method static IlluminateHttpResponse view(string|array $view, array $data = [], int $status = 200, array $headers = [])
* @method static IlluminateHttpJsonResponse json(mixed $data = [], int $status = 200, array $headers = [], int $options = 0)
* @method static IlluminateHttpJsonResponse jsonp(string $callback, mixed $data = [], int $status = 200, array $headers = [], int $options = 0)
* @method static SymfonyComponentHttpFoundationStreamedResponse stream(callable $callback, int $status = 200, array $headers = [])
* @method static SymfonyComponentHttpFoundationStreamedJsonResponse streamJson(array $data, int $status = 200, array $headers = [], int $encodingOptions = 15)
* @method static SymfonyComponentHttpFoundationStreamedResponse streamDownload(callable $callback, string|null $name = null, array $headers = [], string|null $disposition = 'attachment')
* @method static SymfonyComponentHttpFoundationBinaryFileResponse download(SplFileInfo|string $file, string|null $name = null, array $headers = [], string|null $disposition = 'attachment')
* @method static SymfonyComponentHttpFoundationBinaryFileResponse file(SplFileInfo|string $file, array $headers = [])
* @method static IlluminateHttpRedirectResponse redirectTo(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
* @method static IlluminateHttpRedirectResponse redirectToRoute(string $route, mixed $parameters = [], int $status = 302, array $headers = [])
* @method static IlluminateHttpRedirectResponse redirectToAction(array|string $action, mixed $parameters = [], int $status = 302, array $headers = [])
* @method static IlluminateHttpRedirectResponse redirectGuest(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
* @method static IlluminateHttpRedirectResponse redirectToIntended(string $default = '/', int $status = 302, array $headers = [], bool|null $secure = null)
* @method static void macro(string $name, object|callable $macro)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
*
* @see IlluminateRoutingResponseFactory
*/
class Response extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return ResponseFactoryContract::class;
}
}