ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
MarkerFactory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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='')