| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Campaign { |
||
| 11 | |||
| 12 | private $identifier; |
||
| 13 | private $start; |
||
| 14 | private $end; |
||
| 15 | private $impressionThreshold; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var Bucket[] |
||
| 19 | */ |
||
| 20 | private $buckets; |
||
| 21 | |||
| 22 | public function __construct( string $identifier, \DateTime $start, \DateTime $end, array $buckets, ImpressionThresholdInterface $impressionThreshold ) { |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getIdentifier(): string { |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getEnd(): \DateTime { |
||
| 35 | return $this->end; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function isActiveAtPointInTime( \DateTime $time ): bool { |
||
| 40 | } |
||
| 41 | } |