$_attributes
$_attributes : array
Array of attributes that are passed in from the constructor, and made available in the view when a development error is displayed.
Represents a fatal error
__construct(string $message, integer|null $code = null, string|null $file = null, integer|null $line = null, \Exception|null $previous = null)
Constructor
Allows you to create exceptions that are treated as framework errors and disabled when debug = 0.
string | $message | Message string. |
integer|null | $code | Code. |
string|null | $file | File name. |
integer|null | $line | Line number. |
\Exception|null | $previous | The previous exception. |
responseHeader(string|array|null $header = null, string|null $value = null) : array
Get/set the response header to be used
See also Cake\Http\Response::withHeader()
string|array|null | $header | An array of header strings or a single header string
|
string|null | $value | The header value. |
Loading…