final public function filterWithRepository(Collection $collection, Repository $repository, WhereExpressionCollector $sqlStatement, &$params)
    {
        $speciatedFilter = $repository->getRepositorySpecificFilter($this);
        if ($speciatedFilter) {
            $filtered = $speciatedFilter->doFilterWithRepository($collection, $repository, $sqlStatement, $params);

            if ($filtered) {
                $this->filteredByRepository = true;
            }
        }
    }
final public function filterWithRepository(Collection $collection, Repository $repository, WhereExpressionCollector $sqlStatement, &$params)
    {
        $speciatedFilter = $repository->getRepositorySpecificFilter($this);
        if ($speciatedFilter) {
            $filtered = $speciatedFilter->doFilterWithRepository($collection, $repository, $sqlStatement, $params);

            if ($filtered) {
                $this->filteredByRepository = true;
            }
        }
    }
final public function filterWithRepository ( Collection $ collection , Repository $ repository , WhereExpressionCollector $ sqlStatement , & $ params ) { $ speciatedFilter = $ repository -> getRepositorySpecificFilter ( $ this ) ; if ( $ speciatedFilter ) { $ filtered = $ speciatedFilter -> doFilterWithRepository ( $ collection , $ repository , $ sqlStatement , $ params ) ; if ( $ filtered ) { $ this -> filteredByRepository = true ; } } }
Returns A string containing information needed for a repository to use a filter directly.

@param Collection $collection
@param Repository $repository
@param WhereExpressionCollector $sqlStatement
@param array $params An array of output parameters that might be need by the repository, named parameters for PDO for example.
Returns A string containing information needed for a repository to use a filter directly .