string|null message() Get the response message. Return Value string|null
$this header(string $key, array|string $values, bool $replace = true) Set a header on the Response. Parameters string $key array|string $values bool $replace Return Value $this
mixed getOriginalContent() Get the original response content. Return Value mixed
static mixed getFacadeRoot() Get the root object behind the facade. Return Value mixed
static Application getFacadeApplication() Get the application instance behind the facade. Return Value Application
$this cookie(Cookie|mixed $cookie) Add a cookie to the response. Parameters Cookie|mixed $cookie Return Value $this
string content() Get the content of the response. Return Value string
static void clearResolvedInstances() Clear all of the resolved instances. Return Value void
static void clearResolvedInstance(string $name) Clear a resolved facade instance. Parameters string $name Return Value void
Response class Response extends Facade (View source) Methods static void swap(mixed $instance) Hotswap the underlying instance behind the facade. from Facade static Expectation shouldReceive() Initiate a mock expectation on the facade. from Facade static mixed getFacadeRoot() Get the root object behind the facade. from Facade static void clearResolvedInstance(string $name) Clear a resolved facade instance. from Facade static void clearResolvedInstances() Clear all of the r
Page 242 of 996