public static function generateCapabilityName(string $controllerName, string $action): string
    {
        $result = 'cap__' . $controllerName . '__' . $action;

        return $result;
    }
public static function generateCapabilityName(string $controllerName, string $action): string
    {
        $result = 'cap__' . $controllerName . '__' . $action;

        return $result;
    }
public static function generateCapabilityName ( string $ controllerName , string $ action ) : string { $ result = 'cap__' . $ controllerName . '__' . $ action ; return $ result ; }
Generate capability name.

@param  string $controllerName Controller name
@param  string $action         Action name
@return string
Generate capability name .