mautic / app /bundles /PluginBundle /Event /AbstractPluginIntegrationEvent.php
chrisbryan17's picture
Upload folder using huggingface_hub
d2897cd verified
raw
history blame contribute delete
636 Bytes
<?php
namespace Mautic\PluginBundle\Event;
use Mautic\PluginBundle\Integration\AbstractIntegration;
use Symfony\Contracts\EventDispatcher\Event;
class AbstractPluginIntegrationEvent extends Event
{
/**
* @var AbstractIntegration
*/
protected $integration;
/**
* Get the integration's name.
*
* @return mixed
*/
public function getIntegrationName()
{
return $this->integration->getName();
}
/**
* Get the integration object.
*
* @return AbstractIntegration
*/
public function getIntegration()
{
return $this->integration;
}
}