![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/app/bundles/SmsBundle/Event/ |
<?php namespace Mautic\SmsBundle\Event; use Mautic\LeadBundle\Entity\Lead; use Mautic\LeadBundle\Entity\LeadEventLog; use Symfony\Component\HttpFoundation\Response; class ReplyEvent extends \Symfony\Contracts\EventDispatcher\Event { private ?Response $response = null; private ?LeadEventLog $eventLog = null; /** * ReplyEvent constructor. * * @param string $message */ public function __construct( private Lead $contact, private $message ) { } /** * @return Lead */ public function getContact() { return $this->contact; } /** * @return string */ public function getMessage() { return $this->message; } public function setResponse(Response $response): void { $this->response = $response; } /** * @return Response|null */ public function getResponse() { return $this->response; } public function getEventLog(): ?LeadEventLog { return $this->eventLog; } public function setEventLog(LeadEventLog $eventLog): void { $this->eventLog = $eventLog; } }