Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 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)
150 lars 13
 * @method static \Symfony\Component\HttpFoundation\StreamedResponse stream(callable $callback, int $status = 200, array $headers = [])
14
 * @method static \Symfony\Component\HttpFoundation\StreamedResponse streamDownload(callable $callback, string|null $name = null, array $headers = [], string|null $disposition = 'attachment')
148 lars 15
 * @method static \Symfony\Component\HttpFoundation\BinaryFileResponse download(\SplFileInfo|string $file, string|null $name = null, array $headers = [], string|null $disposition = 'attachment')
16
 * @method static \Symfony\Component\HttpFoundation\BinaryFileResponse file(\SplFileInfo|string $file, array $headers = [])
17
 * @method static \Illuminate\Http\RedirectResponse redirectTo(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
18
 * @method static \Illuminate\Http\RedirectResponse redirectToRoute(string $route, mixed $parameters = [], int $status = 302, array $headers = [])
19
 * @method static \Illuminate\Http\RedirectResponse redirectToAction(string $action, mixed $parameters = [], int $status = 302, array $headers = [])
20
 * @method static \Illuminate\Http\RedirectResponse redirectGuest(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
21
 * @method static \Illuminate\Http\RedirectResponse redirectToIntended(string $default = '/', int $status = 302, array $headers = [], bool|null $secure = null)
22
 * @method static void macro(string $name, object|callable $macro)
23
 * @method static void mixin(object $mixin, bool $replace = true)
24
 * @method static bool hasMacro(string $name)
25
 * @method static void flushMacros()
26
 *
27
 * @see \Illuminate\Routing\ResponseFactory
28
 */
29
class Response extends Facade
30
{
31
    /**
32
     * Get the registered name of the component.
33
     *
34
     * @return string
35
     */
36
    protected static function getFacadeAccessor()
37
    {
38
        return ResponseFactoryContract::class;
39
    }
40
}