Devise\Models\Scaffolding\MigrationScaffolding::convertFields PHP Method

convertFields() private method

private convertFields ( $template ) : mixed
$template
return mixed
    private function convertFields($template)
    {
        // Build Fields
        $replacement = $this->buildFields();
        // Build Indexes
        $replacement .= $this->buildIndexes();
        // Replace the migrationFields variable with what we've built
        $template = str_replace('*|migrationFields|*', $replacement, $template);
        return $template;
    }