private static function runAppMiddleware()
    {
        $appMiddleware = Filter::$middleware;

        foreach ($appMiddleware as $middleware) {
            $middleware = instance($middleware);

            $middleware->handle(new Request());
        }

        return true;
    }
private static function runAppMiddleware()
    {
        $appMiddleware = Filter::$middleware;

        foreach ($appMiddleware as $middleware) {
            $middleware = instance($middleware);

            $middleware->handle(new Request());
        }

        return true;
    }
private static function runAppMiddleware ( ) { $ appMiddleware = Filter :: $ middleware ; foreach ( $ appMiddleware as $ middleware ) { $ middleware = instance ( $ middleware ) ; $ middleware -> handle ( new Request ( ) ) ; } return true ; }
Check app middlewares before run the route.

@return null
Check app middlewares before run the route .