Registry / utility / phpactor-container

phpactor-container

JSON →
library3.0.1phppackagistunverified

Phpactor's DI Container providing dependency injection for the Phpactor code intelligence tool.

composer require phpactor/container
INSTALL
IMPORT
SIG · PHPACTOR-CONTAINER
P
phpactor-container
utilityphpv3.0.1
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.

Container
use Phpactor\Container\Container;

Create a Phpactor Container and register a service.

<?php require 'vendor/autoload.php'; use Phpactor\Container\Container; $container = new Container(); $container->register('service', function() { return new stdClass(); }); $service = $container->get('service');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
phpactor-container — pip install phpactor-container · libregistry