File "class-render-interface.php"
Full Path: /home/tekvhqgl/public_html/wp-content/plugins/wp-rocket-1-nov/inc/classes/interfaces/class-render-interface.php
File size: 392 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace WP_Rocket\Interfaces;
/**
* Render interface
*
* @since 3.0
* @author Remy Perona
*/
interface Render_Interface {
/**
* Renders the given template if it's readable.
*
* @since 3.0
* @author Remy Perona
*
* @param string $template Template slug.
* @param array $data Data to pass to the template.
*/
public function generate( $template, $data );
}