ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ManipulatorInterface.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
26 {
36  public function prepareCreateOrUpdate(
38  string ...$values
40 
49  public function prepareForceCreate(
50  PathInterface $path,
51  string ...$values
53 
57  public function prepareDelete(PathInterface $path): ManipulatorInterface;
58 
65  public function execute(): void;
66 }
$path
Definition: ltiservices.php:29
prepareDelete(PathInterface $path)
All elements specified by the path are set to be deleted.
prepareCreateOrUpdate(PathInterface $path, string ... $values)
The values are set to be inserted into the elements specified by the path in order.
prepareForceCreate(PathInterface $path, string ... $values)
New elements are set to be created as specified by the path, and filled with the values.