ResponseFactory
interface ResponseFactory (View source)
Methods
Response make(string $content = '', int $status = 200, array $headers = array()) Return a new response from the application. Response view(string $view, array $data = array(), int $status = 200, array $headers = array()) Return a new view response from the application. JsonResponse json(string|array $data = array(), int $status = 200, array $headers = array(), int $options) Return a new JSON response from the applic