fix documentation

This commit is contained in:
Julien Fastré 2018-09-19 16:34:38 +02:00
parent dba4ea1c36
commit 7d85321303

View File

@ -61,10 +61,12 @@ interface ExportInterface extends ExportElementInterface
* what the user is allowed to see. (Do not show personal data the user
* is not allowed to see).
*
* The returned object should be an instance of QueryBuilder or NativeQuery.
*
* @param array $requiredModifiers
* @param array $acl an array where each row has a `center` key containing the Chill\MainBundle\Entity\Center, and `circles` keys containing the reachable circles. Example: `array( array('center' => $centerA, 'circles' => array($circleA, $circleB) ) )`
* @param array $data the data from the form, if any
* @return QueryBuilder the query to execute.
* @return QueryBuilder|\Doctrine\ORM\NativeQuery the query to execute.
*/
public function initiateQuery(array $requiredModifiers, array $acl, array $data = array());