Routing
The Slim Framework handles the routing and delegates the request to the appropriate route handler.
Routes
All routes are defined in config/routes.php.
Each route will be defined by a method that corresponds to the HTTP verb.
For example, a GET
request is defined as follows:
$app->get('/users', \App\Action\Customer\CustomerFinderAction::class);
Route groups
Route groups are good to organize routes into logical groups. Read more