for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace ApiSkeletons\Doctrine\GraphQL\Criteria;
final class Filters
{
public const EQ = 'eq';
public const NEQ = 'neq';
public const LT = 'lt';
public const LTE = 'lte';
public const GT = 'gt';
public const GTE = 'gte';
public const BETWEEN = 'between';
public const CONTAINS = 'contains';
public const STARTSWITH = 'startswith';
public const ENDSWITH = 'endswith';
public const IN = 'in';
public const NOTIN = 'notin';
public const ISNULL = 'isnull';
public const SORT = 'sort';
/** @return string[] */
public static function toArray(): array
return [
self::EQ,
self::NEQ,
self::LT,
self::LTE,
self::GT,
self::GTE,
self::BETWEEN,
self::CONTAINS,
self::STARTSWITH,
self::ENDSWITH,
self::IN,
self::NOTIN,
self::ISNULL,
self::SORT,
];
}