Method | Description | |
---|---|---|
renderArray ( $array ) | ||
renderDataTable ( $dataTable ) | ||
renderException ( $message, Exception | Throwable $exception ) : string | ||
renderSuccess ( $message ) | ||
sendHeader ( ) |
Method | Description | |
---|---|---|
serializeIfNeeded ( $response ) | ||
shouldSerialize ( mixed $defaultSerializeValue ) : boolean | Returns true if the user requested to serialize the output data (&serialize=1 in the request) |
public renderException ( $message, Exception | Throwable $exception ) : string | ||
$message | ||
$exception | Exception | Throwable | |
return | string |