vendor/pec-platform/search-bundle/Entity/SearchableAlias.php line 16

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4.  *
  5.  * This file is part of the PEC Platform SearchBundle.
  6.  *
  7.  * (c) PEC project engineers & consultants
  8.  *
  9.  * For the full copyright and license information, please view the LICENSE
  10.  * file that was distributed with this source code.
  11.  */
  12. namespace Pec\Bundle\SearchBundle\Entity;
  13. @trigger_error('Please use \StingerSoft\EntitySearchBundle\Model\SearchableAlias'E_USER_DEPRECATED);
  14. /**
  15.  * If an entity implementing this interface is persisted or updated it triggers the indexing procedure
  16.  * for another entity specified by the getEntityToIndex method
  17.  * @deprecated
  18.  */
  19. interface SearchableAlias {
  20.     /**
  21.      * Returns the entity which should be indexed if this object is persisted or updated
  22.      * @deprecated
  23.      */
  24.     public function getEntityToIndex();
  25. }