<?php array_unique(array $array, int $flags = SORT_STRING): array
<?php sort($array); $array = array_unique($array); return $array; }
<?php $output = array_merge($output, $arg); } return array_unique($output); }
<?php $rules = Validator::explodeRules($rules); $rules[] = 'unique_entry_value:{collection},{id},{site}'; $rules = array_unique($rules); $blueprint->ensureFieldHasConfig('slug', ['validate' => $rules]);