<?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\SearchableAlias', E_USER_DEPRECATED);
/**
* If an entity implementing this interface is persisted or updated it triggers the indexing procedure
* for another entity specified by the getEntityToIndex method
* @deprecated
*/
interface SearchableAlias {
/**
* Returns the entity which should be indexed if this object is persisted or updated
* @deprecated
*/
public function getEntityToIndex();
}