chrisbryan17's picture
Upload folder using huggingface_hub
d2897cd verified
<?php
namespace Mautic\PointBundle\Event;
use Mautic\CoreBundle\Event\CommonEvent;
use Mautic\PointBundle\Entity\Point;
class PointEvent extends CommonEvent
{
/**
* @param bool $isNew
*/
public function __construct(Point &$point, $isNew = false)
{
$this->entity = &$point;
$this->isNew = $isNew;
}
/**
* @return Point
*/
public function getPoint()
{
return $this->entity;
}
public function setPoint(Point $point): void
{
$this->entity = $point;
}
}