Browse Source

made all abstract middleware methods abstract

develop
Robin Thoni 8 years ago
parent
commit
fd6764c1eb
1 changed files with 2 additions and 8 deletions
  1. 2
    8
      src/Utils/Middleware/LuAbstractMiddleware.php

+ 2
- 8
src/Utils/Middleware/LuAbstractMiddleware.php View File

@@ -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
 }

Loading…
Cancel
Save