ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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
}
ILIAS\GlobalScreen\Scope\Footer\Factory\isItem
Definition:
isItem.php:29
ILIAS\GlobalScreen\Scope\Footer\Factory
Definition:
AbstractBaseItem.php:21
ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle
getTitle()
Definition:
hasTitleTrait.php:30
ILIAS\GlobalScreen\Scope\Footer\Factory\hasTitleTrait
trait hasTitleTrait
Definition:
hasTitleTrait.php:27
ILIAS\GlobalScreen\Scope\Footer\Factory\withTitle
withTitle(string $title)
Definition:
hasTitleTrait.php:35
components
ILIAS
GlobalScreen
src
Scope
Footer
Factory
hasTitleTrait.php
Generated on Sat Oct 18 2025 23:03:07 for ILIAS by
1.9.4 (using
Doxyfile
)