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