Example #1
0
 /**
  * Declares an association between this object and a ChildConfig object.
  *
  * @param  ChildConfig $v
  * @return $this|\App\Propel\ConfigVersion The current object (for fluent API support)
  * @throws PropelException
  */
 public function setConfig(ChildConfig $v = null)
 {
     if ($v === null) {
         $this->setConfigId(NULL);
     } else {
         $this->setConfigId($v->getConfigId());
     }
     $this->aConfig = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the ChildConfig object, it will not be re-added.
     if ($v !== null) {
         $v->addConfigVersion($this);
     }
     return $this;
 }