mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
The method "getFormDefaultData" is applyied on every interface which will use it: - ExportInterface - AggregatorInterface - DirectExportInterface - FilterInterface The method buildForm is moved to those interfaces. [ci-skip]
30 lines
620 B
PHP
30 lines
620 B
PHP
<?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 Symfony\Component\Form\FormBuilderInterface;
|
|
|
|
/**
|
|
* The common methods between different object used to build export (i.e. : ExportInterface,
|
|
* FilterInterface, AggregatorInterface).
|
|
*/
|
|
interface ExportElementInterface
|
|
{
|
|
|
|
/**
|
|
* get a title, which will be used in UI (and translated).
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getTitle();
|
|
}
|