Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
FileOwnership.php
1<?php
2
4
6{
7 private int $id;
8 private bool $own = false;
9
10 public function __construct(int $id)
11 {
12 $this->id = $id;
13 }
14
15 public function getId(): int
16 {
17 return $this->id;
18 }
19
20 public function isOwn(): bool
21 {
22 return $this->own;
23 }
24
25 public function markAsOwn(bool $flag = true): void
26 {
27 $this->own = $flag;
28 }
29}