ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Separator.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26
32{
33 protected bool $visible_title = false;
34 protected string $title = '';
35
40 public function withTitle(string $title): hasTitle
41 {
42 $clone = clone($this);
43 $clone->title = $title;
44
45 return $clone;
46 }
47
51 public function getTitle(): string
52 {
53 return $this->title;
54 }
55
56 public function withVisibleTitle(bool $visible_title): self
57 {
58 $clone = clone($this);
59 $clone->visible_title = $visible_title;
60
61 return $clone;
62 }
63
67 public function isTitleVisible(): bool
68 {
70 }
71}