Registry / utility / symfony-service-contracts

symfony-service-contracts

JSON →
library3.7.0phppackagistunverified

Generic abstractions related to writing services.

composer require symfony/service-contracts
INSTALL
IMPORT
SIG · SYMFONY-SERVICE-CO
S
symfony-service-contracts
utilityphpv3.7.0
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.

ServiceSubscriberInterface
use Symfony\Contracts\Service\ServiceSubscriberInterface;

Implement the service subscriber interface for dependency injection.

use Symfony\Contracts\Service\ServiceSubscriberInterface; class MyService implements ServiceSubscriberInterface { public static function getSubscribedServices(): array { return []; } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.7.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
symfony-service-contracts — pip install symfony-service-contracts · libregistry