original_string: public function mount($prefix, RouterInterface $router, array $meta = [])
      {
          $prefix = '/' . trim($prefix, '/');
          foreach($router->routes() as $route) {
              $route->uri = $prefix . $route->uri;
              $route->meta = array_merge($route->meta, $meta);
              $query = static::clean($route->method . ' ' . $route->uri);
              $this->routes[$query] = $route;
          }
  
          return $this;
      }
code: public function mount($prefix, RouterInterface $router, array $meta = [])
      {
          $prefix = '/' . trim($prefix, '/');
          foreach($router->routes() as $route) {
              $route->uri = $prefix . $route->uri;
              $route->meta = array_merge($route->meta, $meta);
              $query = static::clean($route->method . ' ' . $route->uri);
              $this->routes[$query] = $route;
          }
  
          return $this;
      }
code_tokens: public function mount ( $ prefix , RouterInterface $ router , array $ meta = [ ] ) { $ prefix = '/' . trim ( $ prefix , '/' ) ; foreach ( $ router -> routes ( ) as $ route ) { $ route -> uri = $ prefix . $ route -> uri ; $ route -> meta = array_merge ( $ route -> meta , $ meta ) ; $ query = static :: clean ( $ route -> method . ' ' . $ route -> uri ) ; $ this -> routes [ $ query ] = $ route ; } return $ this ; }
docstring: Mount router under prefix query
  
  @param $prefix
  @param RouterInterface $router
  @param array $meta
  @return $this
docstring_tokens: Mount router under prefix query