# jetformbuilder/3.6.6/modules/option-query/interfaces/option-query-it.php

JetFormBuilder — Dynamic Blocks Form Builder, version 3.6.6. 46 lines.

- Page: https://pluginprobe.com/plugins/jetformbuilder/3.6.6/code/modules/option-query/interfaces/option-query-it.php
- Raw: https://pluginprobe.com/plugins/jetformbuilder/3.6.6/raw/modules/option-query/interfaces/option-query-it.php
- Modified: 2024-02-08T14:44:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetformbuilder/3.6.6/code/modules/option-query/interfaces/option-query-it.php#L10-L20`.

```php
<?php


namespace JFB_Modules\Option_Query\Interfaces;

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

use JFB_Components\Repository\Repository_Item_Instance_Trait;

interface Option_Query_It extends Repository_Item_Instance_Trait {

	public function set_setting( string $name, $value );

	public function get_setting( string $name );

	public function has_setting( string $name ): bool;

	public function set_settings( array $settings );

	public function get_settings(): array;

	public function set_query( string $name, $value );

	public function get_query( string $name );

	public function has_query( string $name ): bool;

	public function delete_query( string $name );

	public function set_query_params( array $params );

	public function get_query_params(): array;

	public function fetch(): \Generator;

	public function is_support_feature( string $feature_name ): bool;

	public function disable_feature( string $feature_name );

	public function enable_feature( string $feature_name );

}

```
