ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
Factory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Services\Manipulator
;
22
23
use
ILIAS\MetaData\Manipulator\ManipulatorInterface
as
InternalManipulator
;
24
use
ILIAS\MetaData\Elements\SetInterface
;
25
use
ILIAS\MetaData\Repository\RepositoryInterface
;
26
27
class
Factory
implements
FactoryInterface
28
{
29
protected
InternalManipulator
$internal_manipulator
;
30
protected
RepositoryInterface
$repository
;
31
37
public
function
__construct
(
38
InternalManipulator
$internal_manipulator,
39
RepositoryInterface
$repository,
40
) {
41
$this->internal_manipulator =
$internal_manipulator
;
42
$this->
repository
=
$repository
;
43
}
44
45
public
function
get
(
46
SetInterface
$set
47
):
ManipulatorInterface
{
48
return
new
Manipulator
(
49
$this->internal_manipulator,
50
$this->
repository
,
51
$set
52
);
53
}
54
}
ILIAS\MetaData\Services\Manipulator\Manipulator
Definition:
Manipulator.php:28
ILIAS\MetaData\Services\Manipulator\Factory\$internal_manipulator
InternalManipulator $internal_manipulator
Definition:
Factory.php:29
ILIAS\MetaData\Services\Manipulator\Factory\$repository
RepositoryInterface $repository
Definition:
Factory.php:30
ILIAS\MetaData\Services\Manipulator\Factory\__construct
__construct(InternalManipulator $internal_manipulator, RepositoryInterface $repository,)
Note that the general Manipulator used in MetaData does not have an mutable internal state (prepared ...
Definition:
Factory.php:37
ManipulatorInterface
ILIAS\UI\examples\Deck\repository
repository()
description: > Example for rendering a repository card
Definition:
repository.php:33
ILIAS\MetaData\Services\Manipulator\ManipulatorInterface
Definition:
ManipulatorInterface.php:25
ILIAS\MetaData\Services\Manipulator\Manipulator\$set
SetInterface $set
Definition:
Manipulator.php:32
SetInterface
ILIAS\MetaData\Services\Manipulator
Definition:
Factory.php:21
ILIAS\MetaData\Elements\SetInterface
Definition:
SetInterface.php:26
RepositoryInterface
ILIAS\MetaData\Services\Manipulator\Factory
Definition:
Factory.php:27
ILIAS\MetaData\Repository\RepositoryInterface
Definition:
RepositoryInterface.php:29
ILIAS\MetaData\Services\Manipulator\FactoryInterface
Definition:
FactoryInterface.php:25
components
ILIAS
MetaData
classes
Services
Manipulator
Factory.php
Generated on Mon Sep 1 2025 23:01:58 for ILIAS by
1.8.13 (using
Doxyfile
)