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-10-15 00:10:54 UTC


README

Install

composer require sensorario/dependency-injection

Usage

use function Sensorario\DependencyInjection\injector;

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

echo $result;