render()
Renders a view, relative to the pages/views directory. The pages directory is determined by the
render(mixed ...$args) : string
Parameters
- $args : mixed
Renders a view, relative to the pages/views directory. The pages directory is determined by the
render(mixed ...$args) : string
Returns the Response class which can then be used to return a specific response type.
response() : ResponseHandler
Retrieves a value from a config file given its name/key. Null returned if key not found.
config( $key) : mixed|null
Retrieves a value from the .env file given its name/key. Null returned if key not found.
env( $key) : string|null
flash() : FlashMessage
controller([array<string|int, mixed> $middleware = [] ]) : Controller
Performs either or permanent (301) or temporary (302) redirect to a specified url.
redirect( $url[, false $permanent = false ]) : mixed