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