23 lines
466 B
PHP
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;
|
|
}
|
|
}
|