qqq
This commit is contained in:
@@ -36,7 +36,6 @@ class Delete extends AbstractRequestMethod implements InjectRouteInterface
|
||||
{
|
||||
// TODO: Implement dispatch() method.
|
||||
$path = '/' . ltrim($this->path, '/');
|
||||
var_dump($path);
|
||||
|
||||
Router::addRoute(RequestMethod::REQUEST_DELETE, $path, [$class, $method]);
|
||||
if ($this->enableOption) {
|
||||
|
||||
@@ -36,7 +36,6 @@ class Get extends AbstractRequestMethod implements InjectRouteInterface
|
||||
{
|
||||
// TODO: Implement dispatch() method.
|
||||
$path = '/' . ltrim($this->path, '/');
|
||||
var_dump($path);
|
||||
|
||||
Router::addRoute(RequestMethod::REQUEST_GET, $path, [$class, $method]);
|
||||
if ($this->enableOption) {
|
||||
|
||||
@@ -34,7 +34,6 @@ class Head extends AbstractRequestMethod implements InjectRouteInterface
|
||||
{
|
||||
// TODO: Implement dispatch() method.
|
||||
$path = '/' . ltrim($this->path, '/');
|
||||
var_dump($path);
|
||||
|
||||
Router::addRoute(RequestMethod::REQUEST_HEAD, $path, [$class, $method]);
|
||||
}
|
||||
|
||||
@@ -34,7 +34,6 @@ class Options extends AbstractRequestMethod implements InjectRouteInterface
|
||||
{
|
||||
// TODO: Implement dispatch() method.
|
||||
$path = '/' . ltrim($this->path, '/');
|
||||
var_dump($path);
|
||||
|
||||
Router::addRoute(RequestMethod::REQUEST_OPTIONS, $path, [$class, $method]);
|
||||
}
|
||||
|
||||
@@ -36,7 +36,6 @@ class Post extends AbstractRequestMethod implements InjectRouteInterface
|
||||
{
|
||||
// TODO: Implement dispatch() method.
|
||||
$path = '/' . ltrim($this->path, '/');
|
||||
var_dump($path);
|
||||
|
||||
Router::addRoute(RequestMethod::REQUEST_POST, $path, [$class, $method]);
|
||||
if ($this->enableOption) {
|
||||
|
||||
@@ -36,7 +36,6 @@ class Put extends AbstractRequestMethod implements InjectRouteInterface
|
||||
{
|
||||
// TODO: Implement dispatch() method.
|
||||
$path = '/' . ltrim($this->path, '/');
|
||||
var_dump($path);
|
||||
|
||||
Router::addRoute(RequestMethod::REQUEST_PUT, $path, [$class, $method]);
|
||||
if ($this->enableOption) {
|
||||
|
||||
Reference in New Issue
Block a user