示例#1
0
文件: Put.php 项目: kennyma/Jolt
 public function __construct($route, $controller, $action)
 {
     parent::__construct('PUT', $route, $controller, $action);
 }
示例#2
0
 /**
  * @dataProvider providerInvalidRouteAndPath
  */
 public function testIsValidPath_ReturnsFalseForInvalidRouteAndPath($routeName, $path)
 {
     $route = new Named('GET', $routeName, 'Controller', 'action');
     $this->assertFalse($route->isValidPath($path));
 }