/** * Get the associated ChildUser object * * @param ConnectionInterface $con Optional Connection object. * @return ChildUser The associated ChildUser object. * @throws PropelException */ public function getUser(ConnectionInterface $con = null) { if ($this->aUser === null && ($this->id !== "" && $this->id !== null)) { $this->aUser = ChildUserQuery::create()->findPk($this->id, $con); // Because this foreign key represents a one-to-one relationship, we will create a bi-directional association. $this->aUser->setDetail($this); } return $this->aUser; }