File "FilterUrlParam.php"

Full Path: /home/shadsolw/public_html/wp-content/plugins/woocommerce/src/Internal/ProductFilters/Interfaces/FilterUrlParam.php
File size: 529 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
declare( strict_types=1 );

namespace Automattic\WooCommerce\Internal\ProductFilters\Interfaces;

/**
 * Interface for filter URL parameters.
 *
 * @internal For exclusive usage of WooCommerce core, backwards compatibility not guaranteed.
 */
interface FilterUrlParam {
	/**
	 * Get the param keys.
	 *
	 * @return array
	 */
	public function get_param_keys(): array;

	/**
	 * Get the param.
	 *
	 * @param string $type The type of param to get.
	 * @return array
	 */
	public function get_param( string $type ): array;
}