sensorario/dependency-injection

an automatic dependency injection function

v1.0.5 2023-05-14 20:58 UTC

This package is auto-updated.

Last update: 2024-04-14 23:04:30 UTC


README

Install

composer require sensorario/dependency-injection

Usage

use function Sensorario\DependencyInjection\injector;

$result = injector(ClassName::class, 'methodName');

echo $result;