Ver código fonte

made all abstract middleware methods abstract

develop
Robin Thoni 8 anos atrás
pai
commit
fd6764c1eb
1 arquivos alterados com 2 adições e 8 exclusões
  1. 2
    8
      src/Utils/Middleware/LuAbstractMiddleware.php

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

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

Carregando…
Cancelar
Salvar