FOSElasticaBundle/Provider/ProviderInterface.php
Matyas Somfai 43e026500c added new options to fos:elastica:populate command and options array parameter to ProviderInterface
removed assume-yes option as the no-interaction option has the same purpose
2013-10-30 00:02:34 +01:00

21 lines
468 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
* @param array $options
* @return
*/
function populate(\Closure $loggerClosure = null, array $options = array());
}