2011-04-12 04:27:47 +02:00
|
|
|
<?php
|
|
|
|
|
2013-03-27 18:44:06 +01:00
|
|
|
namespace FOS\ElasticaBundle\Provider;
|
2011-04-12 04:27:47 +02:00
|
|
|
|
2011-06-07 20:13:34 +02:00
|
|
|
/**
|
|
|
|
* Insert application domain objects into elastica types
|
|
|
|
*
|
|
|
|
* @author Thibault Duplessis <thibault.duplessis@gmail.com>
|
|
|
|
*/
|
2011-04-12 04:27:47 +02:00
|
|
|
interface ProviderInterface
|
|
|
|
{
|
2011-06-07 20:13:34 +02:00
|
|
|
/**
|
2012-03-10 00:51:08 +01:00
|
|
|
* Persists all domain objects to ElasticSearch for this provider.
|
2011-06-07 20:13:34 +02:00
|
|
|
*
|
2013-03-02 12:23:44 +01:00
|
|
|
* @param \Closure $loggerClosure
|
2013-10-08 12:00:04 +02:00
|
|
|
* @param array $options
|
2013-03-02 12:23:44 +01:00
|
|
|
* @return
|
2011-06-07 20:13:34 +02:00
|
|
|
*/
|
2013-10-08 12:00:04 +02:00
|
|
|
function populate(\Closure $loggerClosure = null, array $options = array());
|
2011-04-12 04:27:47 +02:00
|
|
|
}
|