Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
rule.php
1<?php
2
4
5class Rule
6{
8 protected ?int $slotSize = null;
9
11 protected ?array $ranges = null;
12
13 public function getSlotSize(): ?int
14 {
15 return $this->slotSize;
16 }
17
18 public function setSlotSize(int $slotSize): self
19 {
20 $this->slotSize = $slotSize;
21
22 return $this;
23 }
24
25 public function getRanges(): ?array
26 {
27 return $this->ranges;
28 }
29
30 public function setRanges(array $ranges): self
31 {
32 $this->ranges = $ranges;
33
34 return $this;
35 }
36}