mautic / app /bundles /PluginBundle /Event /PluginIntegrationAuthCallbackUrlEvent.php
chrisbryan17's picture
Upload folder using huggingface_hub
d2897cd verified
raw
history blame contribute delete
736 Bytes
<?php
namespace Mautic\PluginBundle\Event;
use Mautic\PluginBundle\Integration\UnifiedIntegrationInterface;
class PluginIntegrationAuthCallbackUrlEvent extends AbstractPluginIntegrationEvent
{
/**
* @param string $callbackUrl
*/
public function __construct(
UnifiedIntegrationInterface $integration,
private $callbackUrl
) {
$this->integration = $integration;
}
/**
* @return string
*/
public function getCallbackUrl()
{
return $this->callbackUrl;
}
/**
* @param string $callbackUrl
*/
public function setCallbackUrl($callbackUrl): void
{
$this->callbackUrl = $callbackUrl;
$this->stopPropagation();
}
}