Файл: system/vendor/illuminate/support/Facades/Response.php
Строк: 134
<?php
namespace IlluminateSupportFacades;
use IlluminateContractsRoutingResponseFactory as ResponseFactoryContract;
/**
* @method static IlluminateHttpResponse make(string $content = '', int $status = 200, array $headers = [])
* @method static IlluminateHttpResponse noContent($status = 204, array $headers = [])
* @method static IlluminateHttpResponse view(string $view, array $data = [], int $status = 200, array $headers = [])
* @method static IlluminateHttpJsonResponse json(string|array $data = [], int $status = 200, array $headers = [], int $options = 0)
* @method static IlluminateHttpJsonResponse jsonp(string $callback, string|array $data = [], int $status = 200, array $headers = [], int $options = 0)
* @method static SymfonyComponentHttpFoundationStreamedResponse stream(Closure $callback, int $status = 200, array $headers = [])
* @method static SymfonyComponentHttpFoundationStreamedResponse streamDownload(Closure $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($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(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)
*
* @see IlluminateContractsRoutingResponseFactory
*/
class Response extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return ResponseFactoryContract::class;
}
}