ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
Text.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
23
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
24
28
class
Text
extends
AbstractBaseItem
29
{
30
public
function
__construct
(
31
IdentificationInterface
$provider_identification,
32
private
string
$text,
33
) {
34
parent::__construct
($provider_identification);
35
}
36
37
public
function
getText
(): string
38
{
39
return
$this->text;
40
}
41
42
public
function
withText
(
string
$text): self
43
{
44
$clone = clone $this;
45
$clone->text = $text;
46
return
$clone;
47
}
48
49
public
function
isTop
(): bool
50
{
51
return
false
;
52
}
53
54
}
ILIAS\GlobalScreen\Scope\Footer\Factory\AbstractBaseItem
Definition:
AbstractBaseItem.php:31
ILIAS\GlobalScreen\Scope\Footer\Factory\Text
Definition:
Text.php:29
ILIAS\GlobalScreen\Scope\Footer\Factory\Text\__construct
__construct(IdentificationInterface $provider_identification, private string $text,)
Definition:
Text.php:30
ILIAS\GlobalScreen\Scope\Footer\Factory\Text\isTop
isTop()
Definition:
Text.php:49
ILIAS\GlobalScreen\Scope\Footer\Factory\Text\withText
withText(string $text)
Definition:
Text.php:42
ILIAS\GlobalScreen\Scope\Footer\Factory\Text\getText
getText()
Definition:
Text.php:37
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:30
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Definition:
PluginProviderHelper.php:38
ILIAS\GlobalScreen\Scope\Footer\Factory
Definition:
AbstractBaseItem.php:21
components
ILIAS
GlobalScreen
src
Scope
Footer
Factory
Text.php
Generated on Sat Oct 18 2025 23:02:54 for ILIAS by
1.9.4 (using
Doxyfile
)