/** * Declares an association between this object and a ChildArea object. * * @param ChildArea $v * @return \SoColissimo\Model\SocolissimoPrice The current object (for fluent API support) * @throws PropelException */ public function setArea(ChildArea $v = null) { if ($v === null) { $this->setAreaId(NULL); } else { $this->setAreaId($v->getId()); } $this->aArea = $v; // Add binding for other direction of this n:n relationship. // If this object has already been added to the ChildArea object, it will not be re-added. if ($v !== null) { $v->addSocolissimoPrice($this); } return $this; }