ResponseFactory::__call()

mixed __call(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

ResponseFactory::view()

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

ResponseFactory::view()

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

ResponseFactory::stream()

StreamedResponse stream(Closure $callback, int $status = 200, array $headers = array()) Return a new streamed response from the application. Parameters Closure $callback int $status array $headers Return Value StreamedResponse

ResponseFactory::stream()

StreamedResponse stream(Closure $callback, int $status = 200, array $headers = array()) Return a new streamed response from the application. Parameters Closure $callback int $status array $headers Return Value StreamedResponse

ResponseFactory::redirectToRoute()

RedirectResponse redirectToRoute(string $route, array $parameters = array(), int $status = 302, array $headers = array()) Create a new redirect response to a named route. Parameters string $route array $parameters int $status array $headers Return Value RedirectResponse

ResponseFactory::redirectToRoute()

RedirectResponse redirectToRoute(string $route, array $parameters = array(), int $status = 302, array $headers = array()) Create a new redirect response to a named route. Parameters string $route array $parameters int $status array $headers Return Value RedirectResponse

ResponseFactory::redirectToIntended()

RedirectResponse redirectToIntended(string $default = '/', int $status = 302, array $headers = array(), bool|null $secure = null) Create a new redirect response to the previously intended location. Parameters string $default int $status array $headers bool|null $secure Return Value RedirectResponse

ResponseFactory::redirectToIntended()

RedirectResponse redirectToIntended(string $default = '/', int $status = 302, array $headers = array(), bool|null $secure = null) Create a new redirect response to the previously intended location. Parameters string $default int $status array $headers bool|null $secure Return Value RedirectResponse

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