vendor/pec-platform/search-bundle/Entity/SearchableEntity.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\SearchableEntity'E_USER_DEPRECATED);
  14. /**
  15.  * An entity implementing this interface is available for the index and search process
  16.  * @deprecated
  17.  */
  18. interface SearchableEntity {
  19.     /**
  20.      * Will be called after each persist and update event on this entity
  21.      *
  22.      * @param SolrDocument $document
  23.      *            Add properties to be indexed to this document
  24.      *
  25.      * @return bool index?
  26.      * @deprecated
  27.      */
  28.     public function fillSolrDocument(SolrDocument &$document);
  29. }