'connections' => [
// Example SQLite connection:
'sqlite' => new \Cycle\Database\Config\SQLiteDriverConfig(
connection: new \Cycle\Database\Config\SQLite\DsnConnectionConfig(
// see https://www.php.net/manual/pdo.construct.php, DSN for connection syntax
dsn: 'sqlite:runtime/database.db'
)
),
],
Nice to have meta-value like
'connections' => new ConfigurationNeeded([
'sqlite' => '...'
])
When config-plugin meets this value it may throw error that application is not configured properly.
Additionally it may prompt values during composer install phase
For example: https://github.com/yiisoft/yii-cycle/blob/master/config/params.php#L35
'connections' => []
needs to be configuredNice to have meta-value like
When config-plugin meets this value it may throw error that application is not configured properly. Additionally it may prompt values during
composer install
phase