public function addsfUserRecommendation(sfUserRecommendation $l) { $this->collsfUserRecommendations[] = $l; $l->setsfGuardUser($this); }