mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-31 20:13:49 +00:00
fix folder name
This commit is contained in:
39
src/Bundle/ChillMainBundle/Export/DirectExportInterface.php
Normal file
39
src/Bundle/ChillMainBundle/Export/DirectExportInterface.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
*
|
||||
*/
|
||||
namespace Chill\MainBundle\Export;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Security\Core\Role\Role;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
interface DirectExportInterface extends ExportElementInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* get a description, which will be used in UI (and translated)
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription();
|
||||
|
||||
/**
|
||||
* Generate the export
|
||||
*
|
||||
* @param array $acl
|
||||
* @param array $data
|
||||
*
|
||||
* @return \Symfony\Component\HttpFoundation\Response
|
||||
*/
|
||||
public function generate(array $acl, array $data = []);
|
||||
|
||||
/**
|
||||
* authorized role
|
||||
*
|
||||
* @return \Symfony\Component\Security\Core\Role\Role
|
||||
*/
|
||||
public function requiredRole();
|
||||
}
|
Reference in New Issue
Block a user