/**
  * Declares an association between this object and a Photographer object.
  *
  * @param      Photographer $v
  * @return     JobPhotographer The current object (for fluent API support)
  * @throws     PropelException
  */
 public function setPhotographer(Photographer $v = null)
 {
     if ($v === null) {
         $this->setPhotographerId(NULL);
     } else {
         $this->setPhotographerId($v->getId());
     }
     $this->aPhotographer = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the Photographer object, it will not be re-added.
     if ($v !== null) {
         $v->addJobPhotographer($this);
     }
     return $this;
 }