Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class AgendaEventSubscription extends AgendaEventInvitation |
||
13 | { |
||
14 | public const SUBSCRIPTION_NO = 0; |
||
15 | public const SUBSCRIPTION_ALL = 1; |
||
16 | public const SUBSCRIPTION_CLASS = 2; |
||
17 | |||
18 | /** |
||
19 | * @var int |
||
20 | * |
||
21 | * @ORM\Column(name="max_attendees", type="integer", nullable=false, options={"default": 0}) |
||
22 | */ |
||
23 | protected $maxAttendees = 0; |
||
24 | |||
25 | public function getMaxAttendees(): int |
||
26 | { |
||
27 | return $this->maxAttendees; |
||
28 | } |
||
29 | |||
30 | public function setMaxAttendees(int $maxAttendees): self |
||
35 | } |
||
36 | } |
||
37 |