Snaju Inception Docs

ResponseHandler
in package

Table of Contents

$response  : Response
$instance  : ResponseHandler|null
__construct()  : mixed
getInstance()  : ResponseHandler
json()  : ResponseHandler
make()  : Response
Retrieves the raw Response object. When this is used, headers, cookies, etc., will need to be attached manually.
makeNew()  : ResponseHandler
Creates a new Response object.
ok()  : bool
render()  : string

Properties

Methods

make()

Retrieves the raw Response object. When this is used, headers, cookies, etc., will need to be attached manually.

public make() : Response
Return values
Response

render()

public render(string $view[, array<string|int, mixed> $data = [] ][, mixed $status = 200 ][, mixed $headers = [] ]) : string
Parameters
$view : string
$data : array<string|int, mixed> = []
$status : mixed = 200
$headers : mixed = []
Return values
string

Search results