original_string: public function patterns($patterns)
      {
          foreach ($patterns as $key => $pattern) {
              $this->pattern($key, $pattern);
          }
      }
code: public function patterns($patterns)
      {
          foreach ($patterns as $key => $pattern) {
              $this->pattern($key, $pattern);
          }
      }
code_tokens: public function patterns ( $ patterns ) { foreach ( $ patterns as $ key => $ pattern ) { $ this -> pattern ( $ key , $ pattern ) ; } }
docstring: Set a group of global where patterns on all routes.
  
  @param  array  $patterns
  @return void
docstring_tokens: Set a group of global where patterns on all routes .