Add missing method to HighlightableModelInterface.
This is not a BC break - the method has always been required and lacking the method would cause a fatal error.
This commit is contained in:
parent
4af9f442fd
commit
d5a9b7b235
|
@ -3,10 +3,17 @@
|
|||
namespace FOS\ElasticaBundle\Transformer;
|
||||
|
||||
/**
|
||||
* Maps Elastica documents with model objects.
|
||||
* Indicates that the model should have elastica highlights injected.
|
||||
*/
|
||||
interface HighlightableModelInterface
|
||||
{
|
||||
/**
|
||||
* Returns a unique identifier for the model.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function getId();
|
||||
|
||||
/**
|
||||
* Set ElasticSearch highlight data.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue