final public function whereNot(callable $conditionCallback)
    {
        $definition = new SpecificationDefinition($this->class, $this->memberExpressionParser);
        $conditionCallback($definition);
        $this->append(new NotCondition($definition->getCondition()));

        return $this;
    }
final public function whereNot(callable $conditionCallback)
    {
        $definition = new SpecificationDefinition($this->class, $this->memberExpressionParser);
        $conditionCallback($definition);
        $this->append(new NotCondition($definition->getCondition()));

        return $this;
    }
final public function whereNot ( callable $ conditionCallback ) { $ definition = new SpecificationDefinition ( $ this -> class , $ this -> memberExpressionParser ) ; $ conditionCallback ( $ definition ) ; $ this -> append ( new NotCondition ( $ definition -> getCondition ( ) ) ) ; return $ this ; }
Defines a condition that is satisfied when the condition
within the callback are NOT satisfied.

Example:
<code>
->whereNot(function (SpecificationDefinition $match) {
$match->where('prop', '>', 50);
})
</code>

@param callable $conditionCallback

@return static
Defines a condition that is satisfied when the condition within the callback are NOT satisfied .