Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 2b858f0e42
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (24 sloc) 0.518 kb
<?php
namespace FOQ\ElasticaBundle;
/**
* @author Richard Miller <info@limethinking.co.uk>
*
* Basic respoitory to be extended to hold custom queries to be run
* in the finder.
*/
class Repository
{
protected $finder;
public function __construct($finder)
{
$this->finder = $finder;
}
public function find($query)
{
return $this->finder->find($query);
}
public function findPaginated($query)
{
return $this->finder->findPaginated($query);
}
}
Jump to Line
Something went wrong with that request. Please try again.