Closed janedbal closed 1 week ago
You are correct, the documentation needs to be updated. PR welcome.
What is the new official proper way? Implementing Doctrine\DBAL\Driver
and returning the platform from MyDriver::getDatabasePlatform
?
Now I see this is a duplicate: https://github.com/doctrine/dbal/issues/6354#issuecomment-2051693300
Closing as duplicate then. 🙂
Summary
Since dbal 4,
'platform'
key cannot be used inDriverManager::getConnection($params)
(release note), but it is still present in documentation.