Add method visibility
This commit is contained in:
parent
8514ec7320
commit
6cb5097ea8
@ -71,18 +71,18 @@ class LazyCriteriaCollection extends AbstractLazyCollection implements Selectabl
|
|||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
protected function doInitialize()
|
public function matching(Criteria $criteria)
|
||||||
{
|
{
|
||||||
$elements = $this->entityPersister->loadCriteria($this->criteria);
|
$this->initialize();
|
||||||
$this->collection = new ArrayCollection($elements);
|
return $this->collection->matching($criteria);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
function matching(Criteria $criteria)
|
protected function doInitialize()
|
||||||
{
|
{
|
||||||
$this->initialize();
|
$elements = $this->entityPersister->loadCriteria($this->criteria);
|
||||||
return $this->collection->matching($criteria);
|
$this->collection = new ArrayCollection($elements);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user