Registry / config / jms-di-extra-bundle

jms-di-extra-bundle

JSON →
library1.9.2phppackagistunverified

Allows configuring dependency injection using annotations in Symfony.

composer require jms/di-extra-bundle
INSTALL
IMPORT
SIG · JMS-DI-EXTRA-BUNDL
J
jms-di-extra-bundle
configphpv1.9.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Inject
use JMS\DiExtraBundle\Annotation\Inject;

Use the @Inject annotation to inject a service by ID.

use JMS\DiExtraBundle\Annotation\Inject; class MyService { /** * @Inject("logger") */ public $logger; }
Debug
Known issues
breakingRequires Symfony 2.x/3.x; not compatible with Symfony 4+.
fix
Consider using Symfony's autowiring or manual DI configuration.
affects: >=1.0.0
Upgrade
Version history
1.9.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
OpenAI (training)
2
Resources
jms-di-extra-bundle — pip install jms-di-extra-bundle · libregistry