2014-06-16 07:57:27 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This file is part of the FOSElasticaBundle project.
|
|
|
|
*
|
|
|
|
* (c) Infinite Networks Pty Ltd <http://www.infinite.net.au>
|
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace FOS\ElasticaBundle\Provider;
|
|
|
|
|
|
|
|
interface IndexableInterface
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Checks if an object passed should be indexable or not.
|
|
|
|
*
|
|
|
|
* @param string $indexName
|
|
|
|
* @param string $typeName
|
2015-03-12 11:20:00 +01:00
|
|
|
* @param mixed $object
|
|
|
|
*
|
2014-06-16 07:57:27 +02:00
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function isObjectIndexable($indexName, $typeName, $object);
|
|
|
|
}
|