src/Traits/PackageSettings.php
public function getRouteName($resourceName = null, $action)
    {
        $resourceName = $resourceName ?? $this->resourceName;
        return $this->alias.$resourceName.'.'.$action;
    }
public function getRouteName($resourceName = null, $action)
    {
        $resourceName = $resourceName ?? $this->resourceName;
        return $this->alias.$resourceName.'.'.$action;
    }
public function getRouteName ( $ resourceName = null , $ action ) { $ resourceName = $ resourceName ?? $ this -> resourceName ; return $ this -> alias . $ resourceName . '.' . $ action ; }
Get route name for the specified resource and action.

@param string|null $resourceName The name of the resource.
@param string   $action The action.

@return string
Get route name for the specified resource and action .