• File: filtering-strategy-interface.php
  • Full Path: /home/docteuh/www/cache/application/filtering/filtering-strategy-interface.php
  • Date Modified: 06/23/2026 4:19 PM
  • File size: 601 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Schema_Aggregator\Application\Filtering;

use Yoast\WP\SEO\Schema_Aggregator\Domain\Schema_Piece_Collection;

/**
 * Interface for filtering strategies.
 */
interface Filtering_Strategy_Interface {

	/**
	 * Applies filtering to the given schema.
	 *
	 * @param Schema_Piece_Collection $schema The schema to be filtered.
	 *
	 * @return Schema_Piece_Collection The filtered schema.
	 */
	public function filter( Schema_Piece_Collection $schema ): Schema_Piece_Collection;
}