/** * */ public function inject() { $this->getLogger()->info(sprintf("Injecting in bean '%s'", $this->id)); $this->instanciate(); $properties = $this->properties; if (!empty($this->extend)) { $properties = array_merge($this->extend->getProperties(), $properties); } foreach ($properties as $propertyName => $propertyInjector) { $setter = "set" . ucfirst($propertyName); $this->object->{$setter}($propertyInjector->getInjection()); } $this->dispatchAnnotations(); }