2015-03-03 18:51:20 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Trinity\Bundle\SearchBundle\Model;
|
|
|
|
|
|
|
|
use Ivory\LuceneSearchBundle\Model\Document;
|
|
|
|
|
|
|
|
interface IndexableInterface
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getIndexKey();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param $locale
|
|
|
|
* @return Document
|
|
|
|
*/
|
|
|
|
public function getLuceneDocument($locale);
|
2015-03-05 17:51:23 +01:00
|
|
|
}
|