title = 'Campaign Tracker'; $model->eyebrow = 'PHP MVC application'; $model->message = 'Manage campaign types and their configurable attributes using a lightweight PHP MVC stack backed by SQL Server.'; $model->routeExample = '/campaign-types'; return $this->view('home.index', [ 'model' => $model, 'pageTitle' => $model->title, ]); } public function user(string $id) { return $this->json([ 'userId' => $id, ]); } }