static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed
$this withHeaders(array $headers) Add an array of headers to the response. Parameters array $headers Return Value $this
$this withException(Exception $e) Set the exception to attach to the response. Parameters Exception $e Return Value $this
$this withCookie(Cookie|mixed $cookie) Add a cookie to the response. Parameters Cookie|mixed $cookie Return Value $this
throwResponse() Throws the response in a HttpResponseException instance. Exceptions HttpResponseException
static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void
int status() Get the status code for the response. Return Value int
static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation
static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void
$this setContent(mixed $content) Set the content on the response. Parameters mixed $content Return Value $this
Page 241 of 996