public function addProperty(PHPProperty $property) { $this->properties[$property->getName()] = $property; return $this; }