mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
add an interface for export which are lists
Lists does not supports aggregators. The export manager will filter the aggregators applying on the export depending on the interface implemented by the export: if the export implements `Export\ListInterface`, no aggregators will be returned for this export.
This commit is contained in:
17
Export/ListInterface.php
Normal file
17
Export/ListInterface.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Chill\MainBundle\Export;
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
interface ListInterface extends ExportInterface
|
||||
{
|
||||
|
||||
}
|
Reference in New Issue
Block a user