Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
linkobjectrule.php
1<?php
2
4
5abstract class LinkObjectRule
6{
7 protected ?int $linkId = null;
8
9 public function __construct(protected int $objectId) {}
10
11 public function getObjectId(): ?int
12 {
13 return $this->objectId;
14 }
15
16 public function getLinkId(): ?int
17 {
18 return $this->linkId;
19 }
20
21 public function setLinkId(?int $linkId): self
22 {
23 $this->linkId = $linkId;
24
25 return $this;
26 }
27
28 abstract public function getObjectType(): string;
29}