ResponseFactory::redirectToAction()

RedirectResponse redirectToAction(string $action, array $parameters = array(), int $status = 302, array $headers = array()) Create a new redirect response to a controller action. Parameters string $action array $parameters int $status array $headers Return Value RedirectResponse

ResponseFactory::redirectTo()

RedirectResponse redirectTo(string $path, int $status = 302, array $headers = array(), bool|null $secure = null) Create a new redirect response to the given path. Parameters string $path int $status array $headers bool|null $secure Return Value RedirectResponse

ResponseFactory::redirectTo()

RedirectResponse redirectTo(string $path, int $status = 302, array $headers = array(), bool|null $secure = null) Create a new redirect response to the given path. Parameters string $path int $status array $headers bool|null $secure Return Value RedirectResponse

ResponseFactory::redirectGuest()

RedirectResponse redirectGuest(string $path, int $status = 302, array $headers = array(), bool|null $secure = null) Create a new redirect response, while putting the current URL in the session. Parameters string $path int $status array $headers bool|null $secure Return Value RedirectResponse

ResponseFactory::redirectGuest()

RedirectResponse redirectGuest(string $path, int $status = 302, array $headers = array(), bool|null $secure = null) Create a new redirect response, while putting the current URL in the session. Parameters string $path int $status array $headers bool|null $secure Return Value RedirectResponse

ResponseFactory::make()

Response make(string $content = '', int $status = 200, array $headers = array()) Return a new response from the application. Parameters string $content int $status array $headers Return Value Response

ResponseFactory::make()

Response make(string $content = '', int $status = 200, array $headers = array()) Return a new response from the application. Parameters string $content int $status array $headers Return Value Response

ResponseFactory::macro()

static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void

ResponseFactory::jsonp()

JsonResponse jsonp(string $callback, string|array $data = array(), int $status = 200, array $headers = array(), int $options) Return a new JSONP response from the application. Parameters string $callback string|array $data int $status array $headers int $options Return Value JsonResponse

ResponseFactory::jsonp()

JsonResponse jsonp(string $callback, string|array $data = array(), int $status = 200, array $headers = array(), int $options) Return a new JSONP response from the application. Parameters string $callback string|array $data int $status array $headers int $options Return Value JsonResponse