<?php sort(array &$array, int $flags = SORT_REGULAR): true
<?php fn ($name) => Str::snake($name), $segments ); sort($segments); return strtolower(implode('_', $segments)); }
<?php public function addPivotTable(string $reference) { $segments = [$this->name(), class_basename($reference)]; sort($segments); $this->pivotTables[] = $segments; }