lead = $args['lead']; $this->event = $args['event']; $this->eventDetails = $args['eventDetails']; $this->systemTriggered = $args['systemTriggered']; $this->dateScheduled = $args['dateScheduled']; $this->eventSettings = $args['eventSettings']; } /** * @return \Mautic\LeadBundle\Entity\Lead */ public function getLead() { return $this->lead; } /** * @return array */ public function getEvent() { return ($this->event instanceof \Mautic\CampaignBundle\Entity\Event) ? $this->getEventArray($this->event) : $this->event; } /** * @return array */ public function getConfig() { return $this->getEvent()['properties']; } /** * @return array */ public function getEventDetails() { return $this->eventDetails; } /** * @return bool */ public function getSystemTriggered() { return $this->systemTriggered; } /** * @return \DateTimeInterface */ public function getDateScheduled() { return $this->dateScheduled; } /** * @return mixed */ public function getEventSettings() { return $this->eventSettings; } /** * @return LeadEventLog|null */ public function getLog() { return $this->log; } }