Closed DanielRuf closed 7 years ago
Without the fully qualified class name (FQCN) it does not work and throws an uncaught error. PHP Fatal error: Uncaught Error: Class 'DriverManager' not found…
PHP Fatal error: Uncaught Error: Class 'DriverManager' not found
This PR fixes this and updates the readme to include the FQCN in the code example.
Or add use Doctrine\DBAL\DriverManager;
use Doctrine\DBAL\DriverManager;
Thanks @DanielRuf
Without the fully qualified class name (FQCN) it does not work and throws an uncaught error.
PHP Fatal error: Uncaught Error: Class 'DriverManager' not found
…This PR fixes this and updates the readme to include the FQCN in the code example.
Or add
use Doctrine\DBAL\DriverManager;