class SetupCommandController extends CommandController (View source)

Properties

protected DatabaseConnectionService $databaseConnectionService
protected array $persistenceConfiguration
protected ImageHandlerService $imageHandlerService
protected string $imagineDriver

Methods

void
databaseCommand(string|null $driver = null, string|null $host = null, string|null $dbname = null, string|null $user = null, string|null $password = null)

Configure the database connection for flow persistence

void
imageHandlerCommand(string $driver = null)

No description

string
writeSettings(string $filename, string $path, mixed $settings)

Write the settings to the given path, existing configuration files are created or modified

Details

void databaseCommand(string|null $driver = null, string|null $host = null, string|null $dbname = null, string|null $user = null, string|null $password = null)

Configure the database connection for flow persistence

Parameters

string|null $driver

Driver

string|null $host

Hostname or IP

string|null $dbname

Database name

string|null $user

Username

string|null $password

Password

Return Value

void

void imageHandlerCommand(string $driver = null)

No description

Parameters

string $driver

Return Value

void

protected string writeSettings(string $filename, string $path, mixed $settings)

Write the settings to the given path, existing configuration files are created or modified

Parameters

string $filename

The filename the settings are stored in

string $path

The configuration path

mixed $settings

The actual settings to write

Return Value

string

The added yaml code