src/Classes/Actions/Middleware.php
public function add()
    {
        if($moduleMiddleware = $this->module->middleware())
        {
            $middleware = $this->load();
            $middleware = array_merge($middleware,$moduleMiddleware);
            return $this->set($middleware);
        }
        return true;
    }
public function add()
    {
        if($moduleMiddleware = $this->module->middleware())
        {
            $middleware = $this->load();
            $middleware = array_merge($middleware,$moduleMiddleware);
            return $this->set($middleware);
        }
        return true;
    }
public function add ( ) { if ( $ moduleMiddleware = $ this -> module -> middleware ( ) ) { $ middleware = $ this -> load ( ) ; $ middleware = array_merge ( $ middleware , $ moduleMiddleware ) ; return $ this -> set ( $ middleware ) ; } return true ; }
add middleware to middleware.php in cache
add middleware to middleware . php in cache