Files
piratepoet/lib/Subscribers/Statistics/SubscriberStatistics.php
Pavel Dohnal d96d207c53 Add endpoint for subscriber statistics
[MAILPOET-3069]
2020-08-11 12:54:24 +02:00

43 lines
728 B
PHP

<?php
namespace MailPoet\Subscribers\Statistics;
class SubscriberStatistics {
/** @var int */
private $clickCount;
/** @var int */
private $openCount;
/** @var int */
private $totalSentCount;
public function __construct($clickCount, $openCount, $totalSentCount) {
$this->clickCount = $clickCount;
$this->openCount = $openCount;
$this->totalSentCount = $totalSentCount;
}
/**
* @return int
*/
public function getClickCount(): int {
return $this->clickCount;
}
/**
* @return int
*/
public function getOpenCount(): int {
return $this->openCount;
}
/**
* @return int
*/
public function getTotalSentCount(): int {
return $this->totalSentCount;
}
}