diff --git a/framework/php/config/services.yaml b/framework/php/config/services.yaml index d387388..b8aabae 100644 --- a/framework/php/config/services.yaml +++ b/framework/php/config/services.yaml @@ -23,6 +23,17 @@ services: # `when@dev:` so prod builds never touch these definitions. when@dev: services: + # _defaults must be repeated here — `when@` opens a fresh + # services block, so the top-level autowire/autoconfigure don't + # carry over. Without autoconfigure the explicit definitions + # below would lose maker-bundle's `maker.command` tag, and + # `make:bridge:resource` would silently disappear from the + # console while `make:bridge:command` (registered by the glob, + # no override) keeps working. + _defaults: + autowire: true + autoconfigure: true + PhpQml\Bridge\Maker\BridgeResourceMaker: arguments: $qmlPath: '%bridge.qml_path%'