![]() 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/EmailBundle/Stats/FetchOptions/ |
<?php namespace Mautic\EmailBundle\Stats\FetchOptions; use Mautic\StatsBundle\Event\Options\FetchOptions; class EmailStatOptions extends FetchOptions { private array $ids = []; /** * @var int|null */ private $companyId; /** * @var int|null */ private $campaignId; /** * @var int|null */ private $segmentId; private array $filters = []; private bool $canViewOthers = false; /** * @var string */ private $unit; /** * @return $this */ public function setEmailIds(array $ids) { $this->ids = $ids; return $this; } /** * @return array */ public function getEmailIds() { return $this->ids; } /** * @return int|null */ public function getCompanyId() { return $this->companyId; } /** * @param int|null $companyId * * @return $this; */ public function setCompanyId($companyId) { $this->companyId = $companyId; return $this; } /** * @return int|null */ public function getCampaignId() { return $this->campaignId; } /** * @param int|null $campaignId * * @return $this; */ public function setCampaignId($campaignId) { $this->campaignId = $campaignId; return $this; } /** * @return int|null */ public function getSegmentId() { return $this->segmentId; } /** * @param int|null $segmentId * * @return $this; */ public function setSegmentId($segmentId) { $this->segmentId = $segmentId; return $this; } /** * @return array */ public function getFilters() { return $this->filters; } /** * @return $this */ public function setFilters(array $filters) { $this->filters = $filters; return $this; } public function canViewOthers(): bool { return $this->canViewOthers; } /** * @param bool $canViewOthers * * @return $this */ public function setCanViewOthers($canViewOthers) { $this->canViewOthers = $canViewOthers; return $this; } /** * @return string */ public function getUnit() { return $this->unit; } /** * @param string $unit * * @return $this */ public function setUnit($unit) { $this->unit = $unit; return $this; } }