Jeroen Thora
6dcb97a20e
Fixed many small phpcs issues
2015-12-11 20:30:41 +01:00
Oliver Tischlinger
60beca3760
changes after code review
2015-09-25 10:44:30 +02:00
Oliver Tischlinger
3e26330c53
check if collection is empty without loading it
...
Actually isEmpty() is always loading the collection in LazyCriteriaCollection.
A lazy version should use the existing functionality of count() to check if there are no elements if the collection is not initialized.
2015-09-23 17:34:11 +02:00
Guilherme Blanco
f90475772d
Classify persisters into more granular namespaces.
2015-01-16 00:10:25 +01:00
Guilherme Blanco
38187a31d6
Merge pull request #1032 from bakura10/optimized-contains
...
Add support for optimized contains in LazyCriteria
2014-06-21 08:56:47 -04:00
Marco Pivetta
a259138180
The count
in a LazyCriteriaCollection
is null
on initialization
2014-05-17 19:08:25 +02:00
Michaël Gallego
a04113f410
Add support for optimized contains
2014-05-17 12:54:25 +02:00
Guilherme Blanco
d6c727dcc1
Update LazyCriteriaCollection.php
...
Fixed issue where count = 0
2014-05-16 14:03:20 -04:00
Guilherme Blanco
d30e3ab43c
Added count cache when lazy collection is not yet initialized. Some cosmetic changes (primarily, there's no ELSE).
2014-05-16 04:22:11 +00:00
Michaël Gallego
6cb5097ea8
Add method visibility
2014-05-15 18:22:57 +02:00
Michaël Gallego
8514ec7320
Remove useless imports
2014-05-15 18:22:57 +02:00
Michaël Gallego
3c522f4984
Reuse Doctrine Collection Lazy Collection
2014-05-15 18:22:57 +02:00
Michaël Gallego
28afb52734
Typehint to interface to support second level cache
2014-05-15 18:22:56 +02:00
Michaël Gallego
632382b069
Add missing methods to the mock
2014-05-15 18:22:56 +02:00
Michaël Gallego
9b7dce1940
Use inner collection count if initialized
2014-05-15 18:22:56 +02:00
Michaël Gallego
b556bcb16c
Remove useless dependency
2014-05-15 18:22:56 +02:00
Michaël Gallego
f1a793f2ee
Initial work for efficient counting on criteria
2014-05-15 18:22:56 +02:00