terdia/legato

View on GitHub
routes/routes.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * Your application routes go here.
 */
use Legato\Framework\Routing\Route;

Route::get('/', 'App\Controllers\IndexController@show');

Route::get('/user/[i:id]', function ($id) {
    echo 'Example route using closure '.$id;
});