Files
CloudOps/docker-compose/mautic-setup/mautic-backup-files/docroot/app/bundles/PointBundle/Event/PointActionEvent.php

43 lines
712 B
PHP
Executable File

<?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;
}
}