Skip to content

Releases: Warxcell/DoctrineORMFilters

Fix bug if value is callable.

Choose a tag to compare

@Warxcell Warxcell released this 04 May 10:47

Before if you pass value that is name of function, it would call that function, rather than pass your value to function.

Add generics

Choose a tag to compare

@Warxcell Warxcell released this 15 Apr 13:54

Add generics! You can now typehint your expected filters.
image

Return types, interface marker for Repositories with Filters.

Choose a tag to compare

@Warxcell Warxcell released this 15 Nov 19:28
2.1.0

Improvements

Accept iterable instead of array.

Choose a tag to compare

@Warxcell Warxcell released this 08 Apr 08:53
2.0.2

change typehints to iterable, so we can accept Generators.

Add support for multiple parameters

Choose a tag to compare

@Warxcell Warxcell released this 30 Mar 13:58
$qb = $repository->createQueryBuilderByFilters('question', [
    'filterName' => ['value1', 'value2']
]);
[
  'filterSingleMultiValue' => function (QueryBuilder $queryBuilder, string $alias, string $value1, string $value2) {
          
   },
];

Version 2.0.0

Choose a tag to compare

@Warxcell Warxcell released this 15 Mar 08:51
  • Allow PHP8
  • Rename FiltersTrait to Filters.

Fix non unique SplObjectIds bug

Choose a tag to compare

@Warxcell Warxcell released this 06 Jan 09:00
1.0.1

Fix non unique SplObjectIds bug

Initial Release

Choose a tag to compare

@Warxcell Warxcell released this 18 Sep 18:16
1.0.0

add array typehints.