code: protected function getResourceName()
      {
          $name = ucwords($this->getResourceInput());
  
          if ($this->isByResource()) {
              return str_plural($name);
          }
  
          return $name;
      }
docs: Get the resource name
  
  @return string