<?php
declare(strict_types=1);
/*
*
* This file is part of the PEC Platform SearchBundle.
*
* (c) PEC project engineers & consultants
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Pec\Bundle\SearchBundle\Entity;
@trigger_error('Please use \StingerSoft\EntitySearchBundle\Model\SearchableEntity', E_USER_DEPRECATED);
/**
* An entity implementing this interface is available for the index and search process
* @deprecated
*/
interface SearchableEntity {
/**
* Will be called after each persist and update event on this entity
*
* @param SolrDocument $document
* Add properties to be indexed to this document
*
* @return bool index?
* @deprecated
*/
public function fillSolrDocument(SolrDocument &$document);
}