Controllers
Let's look at how controllers work in issuesphp.
public function index()
{
echo "hello";
}
Displays
In issuesphp, we use something called "displays," where we separate the controller instance and use it as a bridge to the views—adding extra logic and even allowing for dependency injection.
$home = new HomeController();
$home->index();
Always remember to point to the method name in order to display the output in the browser.