src/DependencyEngine/DependenciesEngine.php
protected function loadDependencyInObject($object, $property, $dependencyName, $dependencyDefinition){
        $dependency= $this->loadDependency($dependencyName, $dependencyDefinition);
        $reflection= new Reflection($object);
        $reflection->setProperty($property, $dependency, TRUE);
    }
protected function loadDependencyInObject($object, $property, $dependencyName, $dependencyDefinition){
        $dependency= $this->loadDependency($dependencyName, $dependencyDefinition);
        $reflection= new Reflection($object);
        $reflection->setProperty($property, $dependency, TRUE);
    }
protected function loadDependencyInObject ( $ object , $ property , $ dependencyName , $ dependencyDefinition ) { $ dependency = $ this -> loadDependency ( $ dependencyName , $ dependencyDefinition ) ; $ reflection = new Reflection ( $ object ) ; $ reflection -> setProperty ( $ property , $ dependency , TRUE ) ; }
Carga la dependencia y la setea en la propiedad del objeto a inyectar
@param type $object
@param string $property
@param string $dependencyName
@param array $dependencyDefinition
Carga la dependencia y la setea en la propiedad del objeto a inyectar