BasicRunner
in package
Table of Contents
Methods
Methods
run()
Execute the controller and display the output.
public
static run(SetupController $ctrl) : mixed
Note: This is really just an example which handles input and output using
stock PHP variables and functions. Depending on the environment,
it may be easier to work directly with getCtrl()->run(...)
which
handles inputs/outputs in a more abstract fashion.
Parameters
- $ctrl : SetupController
-
A web controller.
send()
public
static send(SetupController $ctrl, SetupResponse $response) : mixed
Parameters
- $ctrl : SetupController
- $response : SetupResponse