ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
DataFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
26{
27 public function data(
28 Type $type,
29 string $value,
30 SlotIdentifier $vocabulary_slot = SlotIdentifier::NULL
31 ): DataInterface {
32 return new Data($type, $value, $vocabulary_slot);
33 }
34
35 public function null(): DataInterface
36 {
37 return new NullData();
38 }
39}
data(Type $type, string $value, SlotIdentifier $vocabulary_slot=SlotIdentifier::NULL)
Definition: DataFactory.php:27
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...