This commit is contained in:
2021-08-30 17:34:57 +08:00
parent 767545935a
commit defcaec071
2 changed files with 14 additions and 15 deletions
+3 -2
View File
@@ -29,10 +29,11 @@ class HandlerProviders extends BaseObject
* @param $method
* @param $path
* @param $handler
* @param $_injectParameters
*/
public static function add($method, $path, $handler)
public static function add($method, $path, $handler, $_injectParameters)
{
static::$handlers[$method][$path] = $handler;
static::$handlers[$method][$path] = [$handler, $_injectParameters];
}
}