ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
hasTitleTrait.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\Footer\Factory
;
22
26
trait
hasTitleTrait
27
{
28
protected
string
$title =
''
;
29
30
public
function
getTitle
(): string
31
{
32
return
$this->title;
33
}
34
35
public
function
withTitle
(
string
$title):
isItem
36
{
37
$clone = clone $this;
38
$clone->title = $title;
39
return
$clone;
40
}
41
}
hasTitleTrait
ILIAS\GlobalScreen\Scope\Footer\Factory\isItem
Definition:
isItem.php:28
ILIAS\GlobalScreen\Scope\Footer\Factory\withTitle
withTitle(string $title)
Definition:
hasTitleTrait.php:35
ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle
getTitle()
Definition:
hasTitleTrait.php:30
ILIAS\GlobalScreen\Scope\Footer\Factory
Definition:
AbstractBaseItem.php:21
components
ILIAS
GlobalScreen
src
Scope
Footer
Factory
hasTitleTrait.php
Generated on Sun Aug 31 2025 23:03:02 for ILIAS by
1.8.13 (using
Doxyfile
)