vendor/friendsofsymfony/elastica-bundle/Doctrine/SliceFetcherInterface.php line 5

Open in your IDE?
  1. <?php
  2. namespace FOS\ElasticaBundle\Doctrine;
  3. @trigger_error(sprintf('The %s class is deprecated since version 4.1 and will be removed in 5.0.'SliceFetcherInterface::class), E_USER_DEPRECATED);
  4. /**
  5.  * @deprecated since 4.1 will be removed in 5.x.
  6.  *
  7.  * Fetches a slice of objects.
  8.  *
  9.  * @author Thomas Prelot <tprelot@gmail.com>
  10.  */
  11. interface SliceFetcherInterface
  12. {
  13.     /**
  14.      * Fetches a slice of objects using the query builder.
  15.      *
  16.      * @param object  $queryBuilder
  17.      * @param integer $limit
  18.      * @param integer $offset
  19.      * @param array   $previousSlice
  20.      * @param array   $identifierFieldNames
  21.      *
  22.      * @return array
  23.      */
  24.     public function fetch($queryBuilder$limit$offset, array $previousSlice, array $identifierFieldNames);
  25. }