Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
servicemetadata.php
1<?php
2
4
6
8{
10 protected $clientId;
11
13 protected $type;
14
16 protected $engineCode;
17
19 protected $service;
20
25 public static function create(): ServiceMetaData
26 {
27 return new static();
28 }
29
34 public function getType(): ?string
35 {
36 return $this->type;
37 }
38
43 public function getEngineCode(): ?string
44 {
45 return $this->engineCode;
46 }
47
52 public function getClientId()
53 {
54 return $this->clientId;
55 }
56
63 public function setType(string $type): ServiceMetaData
64 {
65 $this->type = $type;
66
67 return $this;
68 }
69
77 {
78 $this->clientId = $clientId;
79
80 return $this;
81 }
82
89 public function setEngineCode(string $code): ServiceMetaData
90 {
91 $this->engineCode = $code;
92
93 return $this;
94 }
95
103 {
104 $this->service = $service;
105
106 return $this;
107 }
108
113 public function getService() : ?IInternalService
114 {
115 return $this->service;
116 }
117}