예제 #1
0
 /**
  * Sets a single PcSupporter object as related to this object by a one-to-one relationship.
  *
  * @param      PcSupporter $l PcSupporter
  * @return     PcUser The current object (for fluent API support)
  * @throws     PropelException
  */
 public function setPcSupporter(PcSupporter $v)
 {
     $this->singlePcSupporter = $v;
     // Make sure that that the passed-in PcSupporter isn't already associated with this object
     if ($v->getPcUser() === null) {
         $v->setPcUser($this);
     }
     return $this;
 }