ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
Separator.php
Go to the documentation of this file.
2
6
13{
14
18 protected $visible_title = false;
22 protected $title = '';
23
24
30 public function withTitle(string $title) : hasTitle
31 {
32 $clone = clone($this);
33 $clone->title = $title;
34
35 return $clone;
36 }
37
38
42 public function getTitle() : string
43 {
44 return $this->title;
45 }
46
47
54 {
55 $clone = clone($this);
56 $clone->visible_title = $visible_title;
57
58 return $clone;
59 }
60
61
65 public function isTitleVisible() : bool
66 {
68 }
69}
An exception for terminatinating execution or to throw for unit testing.