Skip to content

Commit

Permalink
[Autocomplete] Add TODO to think of removing/uncommenting lines for S…
Browse files Browse the repository at this point in the history
…ymfony UX 3
  • Loading branch information
J-Ben87 committed Feb 5, 2025
1 parent 215f87c commit 6803e71
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Autocomplete/src/EntityAutocompleterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*
* @template T of object
*
* TODO Remove next lines for Symfony UX 3
*
* @method array getAttributes(object $entity) Returns extra attributes to add to the autocomplete result.
* @method mixed getGroupBy() Return group_by option.
*/
Expand Down Expand Up @@ -55,6 +57,8 @@ public function getValue(object $entity): mixed;

/**
* Returns extra attributes to add to the autocomplete result.
*
* TODO Uncomment for Symfony UX 3
*/
/* public function getAttributes(object $entity): array; */

Expand All @@ -67,6 +71,8 @@ public function isGranted(Security $security): bool;

/*
* Return group_by option.
*
* TODO Uncomment for Symfony UX 3
*/
/* public function getGroupBy(): mixed; */
}

0 comments on commit 6803e71

Please sign in to comment.