File "Block_Template_Contract.php"
Full Path: /home/romayxjt/public_html/wp-content/plugins/the-events-calendar/src/Events/Editor/Full_Site/Block_Template_Contract.php
File size: 925 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace TEC\Events\Editor\Full_Site;
use WP_Block_Template;
_deprecated_file( __FILE__, '6.3.3' );
/**
* Interface Block_Template_Contract
*
* @since 6.2.7
* @deprecated 6.3.3
*/
interface Block_Template_Contract {
/**
* The Block ID.
*
* @since 6.2.7
*
* @return string
*/
public function id(): string;
/**
* The Block slug.
*
* @since 6.2.7
*
* @return string
*/
public function slug(): string;
/**
* Our namespace for a set of blocks.
*
* @since 6.2.7
*
* @return string
*/
public function get_namespace(): string;
/**
* The getter for this template service to retrieve a hydrated WP_Block_Template.
*
* @since 6.2.7
*
* @return WP_Block_Template|null
*/
public function get_block_template(): ?WP_Block_Template;
/**
* Handles rendering the template.
*
* @since 6.2.7
*
* @return string
*/
public function render(): string;
}