first commit

This commit is contained in:
2025-08-02 16:30:27 +02:00
commit 23646bfcee
14851 changed files with 1750626 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace KupShop\AdminBundle\Query;
use Query\Operator;
class Invert
{
public static function checkInvert($operator, $invert, $nullableField = null)
{
if (isset($invert) && $invert == 1) {
if ($nullableField) {
return Operator::notOrNull($operator, $nullableField);
}
return Operator::not($operator);
}
return $operator;
}
}