Explorar el Código

made all abstract middleware methods abstract

develop
Robin Thoni hace 8 años
padre
commit
fd6764c1eb
Se han modificado 1 ficheros con 2 adiciones y 8 borrados
  1. 2
    8
      src/Utils/Middleware/LuAbstractMiddleware.php

+ 2
- 8
src/Utils/Middleware/LuAbstractMiddleware.php Ver fichero

@@ -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…
Cancelar
Guardar