code: protected function _index(string $entityName, ?string $name = null): Pattern
      {
          return $this->pattern(
              $entityName,
              $this->name($name, 'index')
          )->get();
      }
docs: entityName -> /users
  
  GET         users.index     /users
  
  @param string $entityName
  @param null|string $name
  @return Pattern