Response::message()

string|null message() Get the response message. Return Value string|null

Response::header()

$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

Response::getOriginalContent()

mixed getOriginalContent() Get the original response content. Return Value mixed

Response::getFacadeRoot()

static mixed getFacadeRoot() Get the root object behind the facade. Return Value mixed

Response::getFacadeApplication()

static Application getFacadeApplication() Get the application instance behind the facade. Return Value Application

Response::cookie()

$this cookie(Cookie|mixed $cookie) Add a cookie to the response. Parameters Cookie|mixed $cookie Return Value $this

Response::content()

string content() Get the content of the response. Return Value string

Response::clearResolvedInstances()

static void clearResolvedInstances() Clear all of the resolved instances. Return Value void

Response::clearResolvedInstance()

static void clearResolvedInstance(string $name) Clear a resolved facade instance. Parameters string $name Return Value void

Response

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