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