浏览代码

made all abstract middleware methods abstract

develop
Robin Thoni 8 年前
父节点
当前提交
fd6764c1eb
共有 1 个文件被更改,包括 2 次插入8 次删除
  1. 2
    8
      src/Utils/Middleware/LuAbstractMiddleware.php

+ 2
- 8
src/Utils/Middleware/LuAbstractMiddleware.php 查看文件

@@ -12,13 +12,7 @@ use Luticate\Utils\Dbo\LuRouteDbo;
12 12
 
13 13
 abstract class LuAbstractMiddleware
14 14
 {
15
-    public function onBefore(LuRouteDbo $route, $parameters, ...$params)
16
-    {
17
-        
18
-    }
15
+    public abstract function onBefore(LuRouteDbo $route, $parameters, ...$params);
19 16
     
20
-    public function onAfter(LuRouteDbo $route, $parameters, $result, ...$params)
21
-    {
22
-        
23
-    }
17
+    public abstract function onAfter(LuRouteDbo $route, $parameters, $result, ...$params);
24 18
 }

正在加载...
取消
保存