src/Providers/MiddlewareServiceProvider.php
protected function registerWebRouteMiddleware()
    {
        foreach ($this->getWebRouteMiddleware() as $key => $middleware) {
            $this->router->aliasMiddleware($key, $middleware);
        }

        return $this;
    }
protected function registerWebRouteMiddleware()
    {
        foreach ($this->getWebRouteMiddleware() as $key => $middleware) {
            $this->router->aliasMiddleware($key, $middleware);
        }

        return $this;
    }
protected function registerWebRouteMiddleware ( ) { foreach ( $ this -> getWebRouteMiddleware ( ) as $ key => $ middleware ) { $ this -> router -> aliasMiddleware ( $ key , $ middleware ) ; } return $ this ; }
Registers route middleware for the CMS

@return $this
Registers route middleware for the CMS