Initial commit: CloudOps infrastructure platform

This commit is contained in:
root
2026-04-09 19:58:57 +02:00
commit 1166a52f26
7762 changed files with 839452 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<?php
namespace MauticPlugin\MauticCrmBundle\Api\Salesforce\Exception;
class RetryRequestException extends \Exception
{
}

View File

@@ -0,0 +1,20 @@
<?php
namespace MauticPlugin\MauticCrmBundle\Api\Salesforce\Helper;
class RequestUrl
{
/**
* Correctly generate the URL based on given URL parts.
*
* @return string
*/
public static function get($apiUrl, $queryUrl, $operation = null, $object = null)
{
if ($queryUrl) {
return ($operation) ? sprintf($queryUrl.'/%s', $operation) : $queryUrl;
}
return sprintf($apiUrl.'/%s/%s', $object, $operation);
}
}