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 Leevel\Di\Container;
Create a container and bind a service.
use Leevel\Di\Container;
$container = new Container();
$container->bind('foo', function() { return 'bar'; });
echo $container->make('foo');
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.