ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
NullManipulator.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\Paths\PathInterface
;
24
25
class
NullManipulator
implements
ManipulatorInterface
26
{
27
public
function
prepareCreateOrUpdate
(
28
PathInterface
$path
,
29
string
...$values
30
):
ManipulatorInterface
{
31
return
new
NullManipulator
();
32
}
33
34
public
function
prepareForceCreate
(
35
PathInterface
$path
,
36
string
...$values
37
):
ManipulatorInterface
{
38
return
new
NullManipulator
();
39
}
40
41
public
function
prepareDelete
(
PathInterface
$path
):
ManipulatorInterface
42
{
43
return
new
NullManipulator
();
44
}
45
46
public
function
execute
(): void
47
{
48
}
49
}
ILIAS\MetaData\Services\Manipulator\NullManipulator\prepareDelete
prepareDelete(PathInterface $path)
All elements specified by the path are set to be deleted.
Definition:
NullManipulator.php:41
ILIAS\MetaData\Services\Manipulator\NullManipulator\execute
execute()
Execute all prepared actions.
Definition:
NullManipulator.php:46
ILIAS\MetaData\Paths\PathInterface
Definition:
PathInterface.php:25
$path
$path
Definition:
ltiservices.php:29
ILIAS\MetaData\Services\Manipulator\ManipulatorInterface
Definition:
ManipulatorInterface.php:25
ILIAS\MetaData\Services\Manipulator
Definition:
Factory.php:21
ILIAS\MetaData\Services\Manipulator\NullManipulator\prepareForceCreate
prepareForceCreate(PathInterface $path, string ... $values)
New elements are set to be created as specified by the path, and filled with the values.
Definition:
NullManipulator.php:34
ILIAS\MetaData\Services\Manipulator\NullManipulator\prepareCreateOrUpdate
prepareCreateOrUpdate(PathInterface $path, string ... $values)
The values are set to be inserted into the elements specified by the path in order.
Definition:
NullManipulator.php:27
PathInterface
ILIAS\MetaData\Services\Manipulator\NullManipulator
Definition:
NullManipulator.php:25
components
ILIAS
MetaData
classes
Services
Manipulator
NullManipulator.php
Generated on Mon Sep 1 2025 23:03:32 for ILIAS by
1.8.13 (using
Doxyfile
)