Example #1
0
 /**
  * Sets a single UserTutor object as related to this object by a one-to-one relationship.
  *
  * @param      UserTutor $l UserTutor
  * @return     User The current object (for fluent API support)
  * @throws     PropelException
  */
 public function setUserTutor(UserTutor $v)
 {
     $this->singleUserTutor = $v;
     // Make sure that that the passed-in UserTutor isn't already associated with this object
     if ($v->getUser() === null) {
         $v->setUser($this);
     }
     return $this;
 }