Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class AjaxOptionController |
||
12 | { |
||
13 | private BaseAjaxOptionController $baseController; |
||
14 | |||
15 | public function __construct(BaseAjaxOptionController $baseController) |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * Because of another hardcoded PHP class name in |
||
22 | * |
||
23 | * @see vendor/akeneo/pim-enterprise-dev/src/Akeneo/Pim/Automation/RuleEngine/front/src/fetch/AttributeOptionFetcher.ts |
||
24 | * |
||
25 | * the AttributeOption class can and should not be overridden in Akeneo PIM, we came up with this workaround to |
||
26 | * support the legacy code of the Table attribute. |
||
27 | * |
||
28 | * @param Request $request |
||
29 | * |
||
30 | * @return JsonResponse |
||
31 | */ |
||
32 | public function listAction(Request $request) |
||
42 |