Ejemplo n.º 1
0
 /**
  * Exclude object from result
  *
  * @param   ChildFile $file Object to remove from the list of results
  *
  * @return $this|ChildFileQuery The current query, for fluid interface
  */
 public function prune($file = null)
 {
     if ($file) {
         $this->addUsingAlias(FileTableMap::COL_ID, $file->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }