remove() public method

public remove ( $documentName = null )
Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 protected function configureQueryBuilder(Builder $queryBuilder)
 {
     $queryBuilder->remove();
 }
 protected function reset()
 {
     $this->queryBuilder->remove()->getQuery()->execute();
 }
 /**
  * Change the query type to remove and optionally set and change the class being queried.
  *
  * @param string $documentName
  * @return QueryProxy this instance
  */
 public function remove($documentName = null)
 {
     $this->queryChanged = true;
     return parent::remove($documentName);
 }