public function applyInjection($target, $injector) { $response = $injector->getValueForType($this->type, $this->name); Reflect::setProperty($target, $this->field, $response); return $target; }