src/BaseRepository.php
public function removeCriteriaOnce($key)
    {
        // if not present in normal list, there is nothing to override
        if ( ! $this->criteria->has($key)) return $this;

        // override by key with Null-value
        $this->onceCriteria->put($key, new NullCriteria);

        return $this;
    }
public function removeCriteriaOnce($key)
    {
        // if not present in normal list, there is nothing to override
        if ( ! $this->criteria->has($key)) return $this;

        // override by key with Null-value
        $this->onceCriteria->put($key, new NullCriteria);

        return $this;
    }
public function removeCriteriaOnce ( $ key ) { // if not present in normal list, there is nothing to override if ( ! $ this -> criteria -> has ( $ key ) ) return $ this ; // override by key with Null-value $ this -> onceCriteria -> put ( $ key , new NullCriteria ) ; return $ this ; }
Removes Criteria, but only for the next call, resets to default afterwards
Note that this does NOT work for specific criteria exclusively, it resets
to default for ALL Criteria.

In effect, this adds a NullCriteria to onceCriteria by key, disabling any criteria
by that key in the normal criteria list.

@param  string $key
@return $this
Removes Criteria but only for the next call resets to default afterwards Note that this does NOT work for specific criteria exclusively it resets to default for ALL Criteria .