code: public function route(bool $dropIndex = false): string
      {
          if ($dropIndex) {
              if ('index' == $this->route) {
                  return '';
              }
          }
          return $this->route;
      }
docs: URL path without language code, package name and an optional query parameters.
  
  @param bool $dropIndex
  @return string