code: public function methods(array $methods, string $path, ?string $name): Pattern
      {
          return $this->pushPattern($this->pattern($path, $name))->methods($methods);
      }
docs: @param array $methods
  @param string $path
  @param null|string $name
  
  @return Pattern