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