Registry / utility / symfony-contracts

symfony-contracts

JSON →
library3.7.0phppackagistunverified

A set of abstractions extracted out of the Symfony components

composer require symfony/contracts
INSTALL
IMPORT
SIG · SYMFONY-CONTRACTS
S
symfony-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 a service subscriber using Symfony Contracts.

use Symfony\Contracts\Service\ServiceSubscriberInterface; class MyService implements ServiceSubscriberInterface { public static function getSubscribedServices(): array { return ['logger' => '?'.LoggerInterface::class]; } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.7.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

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