Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
icon.php
1<?php
2
4
10final class Icon
11{
12 private string $url;
13 private ?string $title;
14
19 public function __construct(string $url, ?string $title = null)
20 {
21 $this->url = $url;
22 $this->title = $title;
23 }
24
32 public function setUrl(string $value): self
33 {
34 $this->url = $value;
35
36 return $this;
37 }
38
44 public function getUrl(): string
45 {
46 return $this->url;
47 }
48
56 public function setTitle(?string $value): self
57 {
58 $this->title = $value;
59
60 return $this;
61 }
62
68 public function getTitle(): ?string
69 {
70 return $this->title;
71 }
72}
__construct(string $url, ?string $title=null)
Definition icon.php:19
setTitle(?string $value)
Definition icon.php:56