Debian Codegraph @

lib/3rdParty/composer/illuminate/support/Facades/Response.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Support\Facades;
4
5 use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract;
6
7 /**
8 * @method static \Illuminate\Http\Response make(mixed $content = '', int $status = 200, array $headers = [])
9 * @method static \Illuminate\Http\Response noContent(int $status = 204, array $headers = [])
10 * @method static \Illuminate\Http\Response view(string|array $view, array $data = [], int $status = 200, array $headers = [])
11 * @method static \Illuminate\Http\JsonResponse json(mixed $data = [], int $status = 200, array $headers = [], int $options = 0)
12 * @method static \Illuminate\Http\JsonResponse jsonp(string $callback, mixed $data = [], int $status = 200, array $headers = [], int $options = 0)
13 * @method static \Symfony\Component\HttpFoundation\StreamedResponse eventStream(\Closure $callback, array $headers = [], \Illuminate\Http\StreamedEvent|string|null $endStreamWith = '</stream>')
14 * @method static \Symfony\Component\HttpFoundation\StreamedResponse stream(callable|null $callback, int $status = 200, array $headers = [])
15 * @method static \Symfony\Component\HttpFoundation\StreamedJsonResponse streamJson(array $data, int $status = 200, array $headers = [], int $encodingOptions = 15)
16 * @method static \Symfony\Component\HttpFoundation\StreamedResponse streamDownload(callable $callback, string|null $name = null, array $headers = [], string|null $disposition = 'attachment')
17 * @method static \Symfony\Component\HttpFoundation\BinaryFileResponse download(\SplFileInfo|string $file, string|null $name = null, array $headers = [], string|null $disposition = 'attachment')
18 * @method static \Symfony\Component\HttpFoundation\BinaryFileResponse file(\SplFileInfo|string $file, array $headers = [])
19 * @method static \Illuminate\Http\RedirectResponse redirectTo(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
20 * @method static \Illuminate\Http\RedirectResponse redirectToRoute(\BackedEnum|string $route, mixed $parameters = [], int $status = 302, array $headers = [])
21 * @method static \Illuminate\Http\RedirectResponse redirectToAction(array|string $action, mixed $parameters = [], int $status = 302, array $headers = [])
22 * @method static \Illuminate\Http\RedirectResponse redirectGuest(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
23 * @method static \Illuminate\Http\RedirectResponse redirectToIntended(string $default = '/', int $status = 302, array $headers = [], bool|null $secure = null)
24 * @method static void macro(string $name, object|callable $macro)
25 * @method static void mixin(object $mixin, bool $replace = true)
26 * @method static bool hasMacro(string $name)
27 * @method static void flushMacros()
28 *
29 * @see \Illuminate\Routing\ResponseFactory
30 */
31 class Response extends Facade
32 {
33 /**
34 * Get the registered name of the component.
35 *
36 * @return string
37 */
38 protected static function getFacadeAccessor()
39 {
40 return ResponseFactoryContract::class;
41 }
42 }