api/laravel/Support/Facades/Response.yaml
2024-09-26 02:03:21 -07:00

145 lines
5.6 KiB
YAML

name: Response
class_comment: '# * @method static \Illuminate\Http\Response make(mixed $content =
'''', int $status = 200, array $headers = [])
# * @method static \Illuminate\Http\Response noContent(int $status = 204, array
$headers = [])
# * @method static \Illuminate\Http\Response view(string|array $view, array $data
= [], int $status = 200, array $headers = [])
# * @method static \Illuminate\Http\JsonResponse json(mixed $data = [], int $status
= 200, array $headers = [], int $options = 0)
# * @method static \Illuminate\Http\JsonResponse jsonp(string $callback, mixed $data
= [], int $status = 200, array $headers = [], int $options = 0)
# * @method static \Symfony\Component\HttpFoundation\StreamedResponse stream(callable
$callback, int $status = 200, array $headers = [])
# * @method static \Symfony\Component\HttpFoundation\StreamedJsonResponse streamJson(array
$data, int $status = 200, array $headers = [], int $encodingOptions = 15)
# * @method static \Symfony\Component\HttpFoundation\StreamedResponse streamDownload(callable
$callback, string|null $name = null, array $headers = [], string|null $disposition
= ''attachment'')
# * @method static \Symfony\Component\HttpFoundation\BinaryFileResponse download(\SplFileInfo|string
$file, string|null $name = null, array $headers = [], string|null $disposition =
''attachment'')
# * @method static \Symfony\Component\HttpFoundation\BinaryFileResponse file(\SplFileInfo|string
$file, array $headers = [])
# * @method static \Illuminate\Http\RedirectResponse redirectTo(string $path, int
$status = 302, array $headers = [], bool|null $secure = null)
# * @method static \Illuminate\Http\RedirectResponse redirectToRoute(string $route,
mixed $parameters = [], int $status = 302, array $headers = [])
# * @method static \Illuminate\Http\RedirectResponse redirectToAction(array|string
$action, mixed $parameters = [], int $status = 302, array $headers = [])
# * @method static \Illuminate\Http\RedirectResponse redirectGuest(string $path,
int $status = 302, array $headers = [], bool|null $secure = null)
# * @method static \Illuminate\Http\RedirectResponse redirectToIntended(string $default
= ''/'', int $status = 302, array $headers = [], bool|null $secure = null)
# * @method static void macro(string $name, object|callable $macro, object|callable
$macro = null)
# * @method static void mixin(object $mixin, bool $replace = true)
# * @method static bool hasMacro(string $name)
# * @method static void flushMacros()
# *
# * @see \Illuminate\Routing\ResponseFactory'
dependencies:
- name: ResponseFactoryContract
type: class
source: Illuminate\Contracts\Routing\ResponseFactory
properties: []
methods:
- name: getFacadeAccessor
visibility: protected
parameters: []
comment: '# * @method static \Illuminate\Http\Response make(mixed $content = '''',
int $status = 200, array $headers = [])
# * @method static \Illuminate\Http\Response noContent(int $status = 204, array
$headers = [])
# * @method static \Illuminate\Http\Response view(string|array $view, array $data
= [], int $status = 200, array $headers = [])
# * @method static \Illuminate\Http\JsonResponse json(mixed $data = [], int $status
= 200, array $headers = [], int $options = 0)
# * @method static \Illuminate\Http\JsonResponse jsonp(string $callback, mixed
$data = [], int $status = 200, array $headers = [], int $options = 0)
# * @method static \Symfony\Component\HttpFoundation\StreamedResponse stream(callable
$callback, int $status = 200, array $headers = [])
# * @method static \Symfony\Component\HttpFoundation\StreamedJsonResponse streamJson(array
$data, int $status = 200, array $headers = [], int $encodingOptions = 15)
# * @method static \Symfony\Component\HttpFoundation\StreamedResponse streamDownload(callable
$callback, string|null $name = null, array $headers = [], string|null $disposition
= ''attachment'')
# * @method static \Symfony\Component\HttpFoundation\BinaryFileResponse download(\SplFileInfo|string
$file, string|null $name = null, array $headers = [], string|null $disposition
= ''attachment'')
# * @method static \Symfony\Component\HttpFoundation\BinaryFileResponse file(\SplFileInfo|string
$file, array $headers = [])
# * @method static \Illuminate\Http\RedirectResponse redirectTo(string $path,
int $status = 302, array $headers = [], bool|null $secure = null)
# * @method static \Illuminate\Http\RedirectResponse redirectToRoute(string $route,
mixed $parameters = [], int $status = 302, array $headers = [])
# * @method static \Illuminate\Http\RedirectResponse redirectToAction(array|string
$action, mixed $parameters = [], int $status = 302, array $headers = [])
# * @method static \Illuminate\Http\RedirectResponse redirectGuest(string $path,
int $status = 302, array $headers = [], bool|null $secure = null)
# * @method static \Illuminate\Http\RedirectResponse redirectToIntended(string
$default = ''/'', int $status = 302, array $headers = [], bool|null $secure =
null)
# * @method static void macro(string $name, object|callable $macro, object|callable
$macro = null)
# * @method static void mixin(object $mixin, bool $replace = true)
# * @method static bool hasMacro(string $name)
# * @method static void flushMacros()
# *
# * @see \Illuminate\Routing\ResponseFactory
# */
# class Response extends Facade
# {
# /**
# * Get the registered name of the component.
# *
# * @return string'
traits: []
interfaces: []