Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

iamfredric/instantiator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instantiator

This is a small library for automaticly resolving classes.

How to use it

<?php
use Iamfredric\Instantiator\Instantiator;

// Instantiate the instantiator
$instantiator = new Instantiator('MyClass');

// Resolve a class
$myClass = $instantiator->call();

// Resolve a class method
$output = $instantiator->callMethod('myMethod');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages