/**
  * Exclude object from result
  *
  * @param   LeasingParkingPaymentDetails $leasingParkingPaymentDetails Object to remove from the list of results
  *
  * @return LeasingParkingPaymentDetailsQuery The current query, for fluid interface
  */
 public function prune($leasingParkingPaymentDetails = null)
 {
     if ($leasingParkingPaymentDetails) {
         $this->addUsingAlias(LeasingParkingPaymentDetailsPeer::ID, $leasingParkingPaymentDetails->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
 /**
  * @param	LeasingParkingPaymentDetails $leasingParkingPaymentDetails The leasingParkingPaymentDetails object to add.
  */
 protected function doAddLeasingParkingPaymentDetails($leasingParkingPaymentDetails)
 {
     $this->collLeasingParkingPaymentDetailss[] = $leasingParkingPaymentDetails;
     $leasingParkingPaymentDetails->setLeasingParkingLeads($this);
 }
 /**
  * Filter the query by a related LeasingParkingPaymentDetails object
  *
  * @param   LeasingParkingPaymentDetails|PropelObjectCollection $leasingParkingPaymentDetails  the related object to use as filter
  * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return                 LeasingParkingLeadsQuery The current query, for fluid interface
  * @throws PropelException - if the provided filter is invalid.
  */
 public function filterByLeasingParkingPaymentDetails($leasingParkingPaymentDetails, $comparison = null)
 {
     if ($leasingParkingPaymentDetails instanceof LeasingParkingPaymentDetails) {
         return $this->addUsingAlias(LeasingParkingLeadsPeer::ID, $leasingParkingPaymentDetails->getParkingLeadId(), $comparison);
     } elseif ($leasingParkingPaymentDetails instanceof PropelObjectCollection) {
         return $this->useLeasingParkingPaymentDetailsQuery()->filterByPrimaryKeys($leasingParkingPaymentDetails->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByLeasingParkingPaymentDetails() only accepts arguments of type LeasingParkingPaymentDetails or PropelCollection');
     }
 }
 /**
  * Adds an object to the instance pool.
  *
  * Propel keeps cached copies of objects in an instance pool when they are retrieved
  * from the database.  In some cases -- especially when you override doSelect*()
  * methods in your stub classes -- you may need to explicitly add objects
  * to the cache in order to ensure that the same objects are always returned by doSelect*()
  * and retrieveByPK*() calls.
  *
  * @param LeasingParkingPaymentDetails $obj A LeasingParkingPaymentDetails object.
  * @param      string $key (optional) key to use for instance map (for performance boost if key was already calculated externally).
  */
 public static function addInstanceToPool($obj, $key = null)
 {
     if (Propel::isInstancePoolingEnabled()) {
         if ($key === null) {
             $key = (string) $obj->getId();
         }
         // if key === null
         LeasingParkingPaymentDetailsPeer::$instances[$key] = $obj;
     }
 }