public function patterns($patterns)
    {
        foreach ($patterns as $key => $pattern) {
            $this->pattern($key, $pattern);
        }
    }
public function patterns($patterns)
    {
        foreach ($patterns as $key => $pattern) {
            $this->pattern($key, $pattern);
        }
    }
public function patterns ( $ patterns ) { foreach ( $ patterns as $ key => $ pattern ) { $ this -> pattern ( $ key , $ pattern ) ; } }
Set a group of global where patterns on all routes.

@param  array  $patterns
@return void
Set a group of global where patterns on all routes .