<?php

declare(strict_types=1);

/*
 * Chill is a software for social workers
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

namespace Chill\MainBundle\Export;

use Doctrine\ORM\NativeQuery;
use Doctrine\ORM\QueryBuilder;

/**
 * Define methods to export list.
 *
 * This interface is a specification of export interface
 * and should be used when the export does not supports aggregators
 * (and list does not support aggregation on their data).
 *
 * When used, the `ExportManager` will not handle aggregator for this class.
 *
 * @template Q of QueryBuilder|NativeQuery
 * @template D of array
 *
 * @template-extends ExportInterface<Q, D>
 */
interface ListInterface extends ExportInterface {}
