46 ->configureAutocomplete()
50 ->configureUnique(
true)
51 ->configureNullable(
false)
52 ->configureDefaultValue(
static function () {
53 return sprintf(
'%04x%04x-%04x-%04x-%04x-%04x%04x%04x',
54 mt_rand(0, 0xffff), mt_rand(0, 0xffff),
56 mt_rand(0, 0x0fff) | 0x4000,
57 mt_rand(0, 0x3fff) | 0x8000,
58 mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0xffff)
104 ->configureValues(0, 1)
105 ->configureDefaultValue(0)
109 ->configureValues(0, 1)
110 ->configureDefaultValue(0)
114 ->configureValues(0, 1)
115 ->configureDefaultValue(0)
119 ->configureRequired()
120 ->configureDefaultValue(
static function () {
122 if (is_object(
$USER) && method_exists(
$USER,
'getId'))
124 return (
int)
$USER->getId();
132 ->configureDefaultValue(
static function () {
140 Join::on(
'this.FILE_ID',
'ref.ID'),
141 [
'join_type' => Join::TYPE_INNER]