FOSElasticaBundle/Doctrine/AbstractLookup.php
2014-04-25 21:31:04 +10:00

23 lines
466 B
PHP

<?php
namespace FOS\ElasticaBundle\Doctrine;
use Doctrine\Common\Persistence\ManagerRegistry;
use FOS\ElasticaBundle\Type\LookupInterface;
abstract class AbstractLookup implements LookupInterface
{
/**
* @var \Doctrine\Common\Persistence\ManagerRegistry
*/
protected $registry;
/**
* @param ManagerRegistry $registry
*/
public function __construct(ManagerRegistry $registry)
{
$this->registry = $registry;
}
}