public function supports($type, array $options, array $metadata)
    {
        $supportedTypes = [
            'easyadmin_autocomplete',
            EasyAdminAutocompleteType::class,
        ];

        return \in_array($type, $supportedTypes, true);
    }