protected function replaceAutoUuids($entityMetadata, &$stub)
    {
        $autoUuids = [];

        foreach ($entityMetadata['table']['columns'] as $column) {
            if (! empty($column['options']['autoUuid'])) {
                $autoUuids[] = $column['name'];
            }
        }

        $stub = str_replace('{{autoUuids}}', $this->getArrayAsText($autoUuids), $stub);
    }