DIContainer
    
            
            in package
            
        
    
    
    
Class used for handling dependency injection for the library
Table of Contents
Methods
- get() : array<string|int, mixed>
- Method used for handling dependency injection
Methods
get()
Method used for handling dependency injection
    public
            static        get(string $class[, array<string|int, mixed> $arguments = [] ]) : array<string|int, mixed>
    It receives the class name that will be checked if it has any parameters that need to be injected and a list of already defined/created arguments to be injected. It will than use the Reflection class API to check if the provided class has any injectable parameters and if those parameters also require any others to be injected as well using a recursion.
Parameters
- $class : string
- 
                    Name of the class for which to auto-inject arguments 
- $arguments : array<string|int, mixed> = []
- 
                    List of arguments that will be passed alongside of auto-injected ones 
Return values
array<string|int, mixed> —Return a new list of arguments that holds manually provided and auto-injected arguments