src/DependencyEngine/DependenciesEngine.php
public function getDependencyInstance($dependencyName){
        if(isset($this->dependencies[$dependencyName])){
            return $this->loadDependency($dependencyName, $this->dependencies[$dependencyName]);
        }
        return null;
    }
public function getDependencyInstance($dependencyName){
        if(isset($this->dependencies[$dependencyName])){
            return $this->loadDependency($dependencyName, $this->dependencies[$dependencyName]);
        }
        return null;
    }
public function getDependencyInstance ( $ dependencyName ) { if ( isset ( $ this -> dependencies [ $ dependencyName ] ) ) { return $ this -> loadDependency ( $ dependencyName , $ this -> dependencies [ $ dependencyName ] ) ; } return null ; }
Retorna una dependencia instanciada
En este caso la dependencia no se injecta a ningun objeto
@param string $dependencyName
@return mixed
Retorna una dependencia instanciada En este caso la dependencia no se injecta a ningun objeto