Esempio n. 1
0
 /**
  * Route sets custom pattern that overrides pattern
  */
 public function testRouteSetsCustomTemplate()
 {
     $route = new Slim_Route('/hello/*', 'hello');
     $route->setPattern('/hello/:name');
     $this->assertEquals('/hello/:name', $route->getPattern());
 }