* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\PrestaShop\Core\Form\IdentifiableObject\OptionProvider; class CombinationFormOptionsProvider implements FormOptionsProviderInterface { /** * {@inheritDoc} */ public function getOptions(int $id, array $data): array { return [ 'product_id' => $data['product_id'] ?? null, ]; } /** * {@inheritDoc} */ public function getDefaultOptions(array $data): array { return []; } }