• File: schema-piece-repository-interface.php
  • Full Path: /home/satp2352/public_html/multitasjayautama.com/01/src/schema-aggregator/domain/schema-piece-repository-interface.php
  • Date Modified: 05/22/2026 6:32 AM
  • File size: 621 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\Domain;

/**
 * Schema piece repository interface.
 */
interface Schema_Piece_Repository_Interface {

	/**
	 * Gets schema pieces by indexable IDs.
	 *
	 * @param int    $page      The page number.
	 * @param int    $page_size The number of items per page.
	 * @param string $post_type The post type to filter by.
	 *
	 * @return Schema_Piece_Collection The schema pieces.
	 */
	public function get( int $page, int $page_size, string $post_type ): Schema_Piece_Collection;
}