Names

    You may now generate URLs for this route using the urlFor() method, described later in this documentation.The route method is also chainable:

    1. <?php
    2. $app->get('/hello/:name', function ($name) {
    3. })->name('hello')->conditions(array('name' => '\w+'));