1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
eventoptionbuilder.php
См. документацию.
1<?php
2
4
7
8abstract class EventOptionBuilder implements Builder
9{
10 public function build(): EventOption
11 {
12 return (new EventOption())
13 ->setId($this->getId())
14 ->setEventId($this->getEventId())
15 ->setCategoryId($this->getCategoryId())
16 ->setCategory($this->getCategory())
17 ->setThreadId($this->getThreadId())
18 ->setOptions($this->getOptions())
19 ->setAttendeesCount($this->getAttendeesCount())
20 ;
21 }
22
23 abstract protected function getId();
24 abstract protected function getEventId();
25 abstract protected function getCategoryId();
26 abstract protected function getCategory();
27 abstract protected function getThreadId();
28 abstract protected function getOptions();
29 abstract protected function getAttendeesCount();
30}