440c36f537
Conflicts: Command/PopulateCommand.php Command/SearchCommand.php DependencyInjection/Configuration.php Doctrine/AbstractElasticaToModelTransformer.php Doctrine/AbstractListener.php Doctrine/MongoDB/ElasticaToModelTransformer.php Doctrine/ORM/ElasticaToModelTransformer.php Doctrine/RepositoryManager.php Finder/TransformedFinder.php Paginator/PaginatorAdapterInterface.php Paginator/RawPaginatorAdapter.php Persister/ObjectPersister.php Propel/ElasticaToModelTransformer.php Subscriber/PaginateElasticaQuerySubscriber.php Tests/DataCollector/ElasticaDataCollectorTest.php Tests/Doctrine/AbstractProviderTest.php Tests/Doctrine/RepositoryManagerTest.php Tests/Manager/RepositoryManagerTest.php Tests/RepositoryTest.php Transformer/ElasticaToModelTransformerCollection.php composer.json
20 lines
410 B
PHP
20 lines
410 B
PHP
<?php
|
|
|
|
namespace FOS\ElasticaBundle\Provider;
|
|
|
|
/**
|
|
* Insert application domain objects into elastica types
|
|
*
|
|
* @author Thibault Duplessis <thibault.duplessis@gmail.com>
|
|
*/
|
|
interface ProviderInterface
|
|
{
|
|
/**
|
|
* Persists all domain objects to ElasticSearch for this provider.
|
|
*
|
|
* @param \Closure $loggerClosure
|
|
* @return
|
|
*/
|
|
function populate(\Closure $loggerClosure = null);
|
|
}
|