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:
Tim Nagel 2015-03-12 22:21:53 +11:00
parent 4af9f442fd
commit d5a9b7b235

View file

@ -3,10 +3,17 @@
namespace FOS\ElasticaBundle\Transformer; namespace FOS\ElasticaBundle\Transformer;
/** /**
* Maps Elastica documents with model objects. * Indicates that the model should have elastica highlights injected.
*/ */
interface HighlightableModelInterface interface HighlightableModelInterface
{ {
/**
* Returns a unique identifier for the model.
*
* @return mixed
*/
public function getId();
/** /**
* Set ElasticSearch highlight data. * Set ElasticSearch highlight data.
* *