Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (9 sloc) 374 Bytes
<?php
namespace Kunststube\Router;
require_once __DIR__ . DIRECTORY_SEPARATOR . 'RouteFactory.php';
require_once __DIR__ . DIRECTORY_SEPARATOR . 'CaseInsensitiveRoute.php';
class CaseInsensitiveRouteFactory extends RouteFactory {
public function newRoute($pattern, array $dispatch = array()) {
return new CaseInsensitiveRoute($pattern, $dispatch);
}
}