/** * Adds a property * * @param PhpProperty $property * @return $this */ public function setProperty(PhpProperty $property) { $property->setParent($this); $this->properties->set($property->getName(), $property); return $this; }
/** * Adds a property * * @param PhpProperty $property * @return $this */ public function setProperty(PhpProperty $property) { $property->setParent($this); $this->properties->set($property->getName(), $property); return $this; }