ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilHandler.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Export\ImportStatus
;
22
23
use
ILIAS\Export\ImportStatus\I\Content\ilHandlerInterface
as
ilImportStatusContentInterface
;
24
use
ILIAS\Export\ImportStatus\I\ilHandlerInterface
as
ilImportStatusHandlerInterface
;
25
26
class
ilHandler
implements
ilImportStatusHandlerInterface
27
{
28
private
StatusType
$type
;
29
private
ilImportStatusContentInterface
$content
;
30
31
public
function
__construct
()
32
{
33
$this->type = StatusType::NONE;
34
}
35
36
public
function
getType
():
StatusType
37
{
38
return
$this->type
;
39
}
40
41
public
function
withType
(
StatusType
$type):
ilImportStatusHandlerInterface
42
{
43
$clone = clone $this;
44
$clone->type =
$type
;
45
return
$clone;
46
}
47
48
public
function
getContent
():
ilImportStatusContentInterface
49
{
50
return
$this->content
;
51
}
52
53
public
function
withContent
(
ilImportStatusContentInterface
$content):
ilImportStatusHandlerInterface
54
{
55
$clone = clone $this;
56
$clone->content =
$content
;
57
return
$clone;
58
}
59
}
ILIAS\Export\ImportStatus
Definition:
class.ilCollection.php:21
ILIAS\Export\ImportStatus\ilHandler\$content
ilImportStatusContentInterface $content
Definition:
class.ilHandler.php:29
ILIAS\Export\ImportStatus\ilHandler
Definition:
class.ilHandler.php:26
ILIAS\Export\ImportStatus\ilHandler\withType
withType(StatusType $type)
Definition:
class.ilHandler.php:41
ILIAS\Export\ImportStatus\ilHandler\$type
StatusType $type
Definition:
class.ilHandler.php:28
ILIAS\Export\ImportStatus\ilHandler\getContent
getContent()
Definition:
class.ilHandler.php:48
ILIAS\Export\ImportStatus\ilHandler\withContent
withContent(ilImportStatusContentInterface $content)
Definition:
class.ilHandler.php:53
ilHandlerInterface
StatusType
ILIAS\Export\ImportStatus\ilHandler\__construct
__construct()
Definition:
class.ilHandler.php:31
ILIAS\Export\ImportStatus\ilHandler\getType
getType()
Definition:
class.ilHandler.php:36
ilHandlerInterface
components
ILIAS
Export
classes
ImportStatus
class.ilHandler.php
Generated on Sun Aug 31 2025 23:02:55 for ILIAS by
1.8.13 (using
Doxyfile
)