File "Formatter_Interface.php"

Full Path: /home/romayxjt/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe/Repository/Formatter_Interface.php
File size: 505 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

/**
 * Interface Tribe__Repository__Formatter_Interface
 *
 * This interface is usually implemented by repository decorators that
 * need not only to modify the filtering criteria but the return format
 * of the items as well.
 *
 * @since 4.7.19
 */
interface Tribe__Repository__Formatter_Interface {
	/**
	 * Formats an item handled by a repository to the expected
	 * format.
	 *
	 * @since 4.7.19
	 *
	 * @param int|WP_Post $id
	 *
	 * @return mixed
	 */
	public function format_item( $id );
}