Simple dependency injection

Maintainers

Details

github.com/06romix/di

Source

Issues

Installs: 5 250

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/dev256/di

1.0.4 2021-12-30 09:45 UTC

This package is auto-updated.

Last update: 2025-10-29 03:04:04 UTC


README

Getting Started

  1. Create a new instance of \Di\ObjectManager
$objectManager = new \Di\ObjectManager;
  1. Use ObjectManager to retrieve other classes
$someClass = $objectManager->get(\Namespace\Class::class);