private function generateResourceName($resource)
    {
        if (false === $this->pluralize) {
            return $resource;
        }

        return $this->inflector->pluralize($resource);
    }
private function generateResourceName($resource)
    {
        if (false === $this->pluralize) {
            return $resource;
        }

        return $this->inflector->pluralize($resource);
    }
private function generateResourceName ( $ resource ) { if ( false === $ this -> pluralize ) { return $ resource ; } return $ this -> inflector -> pluralize ( $ resource ) ; }
Generates final resource name.

@param string|bool $resource

@return string
Generates final resource name .