ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
MarkerFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24{
25 public function marker(Action $action, string $data_value = ''): MarkerInterface
26 {
27 $data_value = ($action === Action::CREATE_OR_UPDATE) ? $data_value : '';
28 return new Marker($action, $data_value);
29 }
30}
marker(Action $action, string $data_value='')