Simple dependency injection

1.0.4 2021-12-30 09:45 UTC

This package is auto-updated.

Last update: 2024-05-29 04:48:57 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);