src/Console/Commands/AbstractGeneratorCommand.php
protected function getResourceName()
    {
        $name = ucwords($this->getResourceInput());

        if ($this->isByResource()) {
            return str_plural($name);
        }

        return $name;
    }
protected function getResourceName()
    {
        $name = ucwords($this->getResourceInput());

        if ($this->isByResource()) {
            return str_plural($name);
        }

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

@return string
Get the resource name