chrisbryan17's picture
Upload folder using huggingface_hub
d2897cd verified
<?php
namespace MauticPlugin\MauticSocialBundle\Event;
use Mautic\CoreBundle\Event\CommonEvent;
use MauticPlugin\MauticSocialBundle\Entity\Monitoring;
class SocialEvent extends CommonEvent
{
/**
* @param bool $isNew
*/
public function __construct(Monitoring $monitoring, $isNew = false)
{
$this->entity = $monitoring;
$this->isNew = $isNew;
}
/**
* Returns the Monitoring entity.
*
* @return Monitoring
*/
public function getMonitoring()
{
return $this->entity;
}
/**
* Sets the Monitoring entity.
*/
public function setMonitoring(Monitoring $monitoring): void
{
$this->entity = $monitoring;
}
}