ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
NullManipulator.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
38 
40 {
41  public function prepareDelete(
42  SetInterface $set,
44  ): SetInterface {
45  return new NullSet();
46  }
47 
48  public function execute(SetInterface $set): void
49  {
50  }
51 
52  public function prepareCreateOrUpdate(
53  SetInterface $set,
55  string ...$values
56  ): SetInterface {
57  return new NullSet();
58  }
59 
60  public function prepareForceCreate(
61  SetInterface $set,
63  string ...$values
64  ): SetInterface {
65  return new NullSet();
66  }
67 }
FilterType
Values should always be all lowercase.
Definition: FilterType.php:26
$path
Definition: ltiservices.php:32
StepToken
The string representation of these tokens must not occur as names of metadata elements.
Definition: StepToken.php:27
prepareCreateOrUpdate(SetInterface $set, PathInterface $path, string ... $values)
Follows the path, adding scaffolds where necessary to perform the step.
prepareForceCreate(SetInterface $set, PathInterface $path, string ... $values)
prepareDelete(SetInterface $set, PathInterface $path)