The Welcome Controller.

A basic controller example. Has examples of how to set the response body and status.

package app
extends Controller

 Methods

The 404 action for the application.

action_404() : \Response

access public

Returns

\Response

A typical "Hello, Bob!" type example.

action_hello() : \Response

This uses a Presenter to show how to use them.

access public

Returns

\Response

The basic welcome message

action_index() : \Response

access public

Returns

\Response