We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7fa71c commit 9f43273Copy full SHA for 9f43273
drufony.services.yml
@@ -1,4 +1,10 @@
1
services:
2
+ # Pass-through to get the database connection via the service
3
+ # container, available for being a dependency of other services
4
+ database:
5
+ class: DatabaseConnection
6
+ factory: [Database, getConnection]
7
+
8
class_loader:
9
class: Composer\Autoload\Classloader
- synthetic: true
10
+ factory: [ '@=constant("DRUFONY_COMPOSER_AUTOLOAD_CLASS")', getLoader ]
0 commit comments