FOSElasticaBundle/Transformer/HighlightableModelInterface.php

17 lines
346 B
PHP
Raw Normal View History

2012-07-16 17:49:28 +02:00
<?php
namespace FOS\ElasticaBundle\Transformer;
2012-07-16 17:49:28 +02:00
/**
* Maps Elastica documents with model objects
*/
interface HighlightableModelInterface
{
/**
* Set ElasticSearch highlight data.
*
* @param array $highlights array of highlight strings
2012-07-16 17:49:28 +02:00
*/
public function setElasticHighlights(array $highlights);
}