original_string: protected function addRouteMiddleware($routeMiddleware)
      {
          if (is_array($routeMiddleware) && (count($routeMiddleware) > 0)) {
              foreach ($routeMiddleware as $key => $middleware) {
                  $this->middleware($key, $middleware);
              }
          }
      }
code: protected function addRouteMiddleware($routeMiddleware)
      {
          if (is_array($routeMiddleware) && (count($routeMiddleware) > 0)) {
              foreach ($routeMiddleware as $key => $middleware) {
                  $this->middleware($key, $middleware);
              }
          }
      }
code_tokens: protected function addRouteMiddleware ( $ routeMiddleware ) { if ( is_array ( $ routeMiddleware ) && ( count ( $ routeMiddleware ) > 0 ) ) { foreach ( $ routeMiddleware as $ key => $ middleware ) { $ this -> middleware ( $ key , $ middleware ) ; } } }
docstring: Add middleware to the router.
  
  @param array $routeMiddleware
docstring_tokens: Add middleware to the router .