2014-04-25 13:31:04 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FOS\ElasticaBundle\Transformer;
|
|
|
|
|
2014-05-15 14:55:35 +02:00
|
|
|
use FOS\ElasticaBundle\Type\TypeConfiguration;
|
2014-04-25 13:31:04 +02:00
|
|
|
|
|
|
|
interface ResultTransformerInterface
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Transforms Elastica results into Models.
|
|
|
|
*
|
2014-05-15 14:55:35 +02:00
|
|
|
* @param TypeConfiguration $configuration
|
2014-04-25 13:31:04 +02:00
|
|
|
* @param array $results
|
|
|
|
*/
|
2014-05-15 14:55:35 +02:00
|
|
|
public function transform(TypeConfiguration $configuration, $results);
|
2014-04-25 13:31:04 +02:00
|
|
|
}
|