Registry / utility / extendsframework-extends-servicelocator

extendsframework-extends-servicelocator

JSON →
library0.1.6phppackagistunverified

Service locator component from Extends Framework.

composer require extendsframework/extends-servicelocator
INSTALL
IMPORT
SIG · EXTENDSFRAMEWORK-E
E
extendsframework-extends-servicelocator
utilityphpv0.1.6
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.

ServiceLocator
use ExtendsFramework\ServiceLocator\ServiceLocator;

Register and retrieve a service from the locator

use ExtendsFramework\ServiceLocator\ServiceLocator; $locator = new ServiceLocator(); $locator->set('db', new PDO('mysql:host=localhost;dbname=test', 'user', 'pass')); $db = $locator->get('db');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.6latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
extendsframework-extends-servicelocator — pip install extendsframework-extends-servicelocator · libregistry