mautic / app /bundles /PointBundle /Event /PointActionEvent.php
chrisbryan17's picture
Upload folder using huggingface_hub
d2897cd verified
<?php
namespace Mautic\PointBundle\Event;
use Mautic\CoreBundle\Event\CommonEvent;
use Mautic\LeadBundle\Entity\Lead;
use Mautic\PointBundle\Entity\Point;
class PointActionEvent extends CommonEvent
{
public function __construct(
protected Point $point,
protected Lead $lead
) {
}
/**
* @return Point
*/
public function getPoint()
{
return $this->point;
}
public function setPoint(Point $point): void
{
$this->point = $point;
}
/**
* @return Lead
*/
public function getLead()
{
return $this->lead;
}
public function setLead(Lead $lead): void
{
$this->lead = $lead;
}
}