peterhorne / elmer

A simple and flexible framework for PHP
4 stars 1 forks source link

Elmer\Routes should allow method chaining #6

Closed peterhorne closed 12 years ago

peterhorne commented 12 years ago

For example:

<?php
$routes
    ->group('/', require 'routes/index.php')
    ->group('/users', require 'routes/users.php')
    ->group('/blog', require 'routes/blog.php');