mirror of
https://gh.wpcy.net/https://github.com/rilustrisimo/freescout-support.git
synced 2026-05-03 15:12:37 +08:00
34 lines
619 B
PHP
34 lines
619 B
PHP
<?php declare(strict_types=1);
|
|
/**
|
|
* Part of Windwalker project.
|
|
*
|
|
* @copyright Copyright (C) 2019 LYRASOFT.
|
|
* @license LGPL-2.0-or-later
|
|
*/
|
|
|
|
namespace Windwalker\Renderer;
|
|
|
|
/**
|
|
* Interface RendererInterface
|
|
*/
|
|
interface RendererInterface
|
|
{
|
|
/**
|
|
* render
|
|
*
|
|
* @param string $file
|
|
* @param array $data
|
|
*
|
|
* @return string
|
|
*/
|
|
public function render($file, $data = []);
|
|
|
|
/**
|
|
* Method to escape output.
|
|
*
|
|
* @param string $output The output to escape.
|
|
*
|
|
* @return string The escaped output.
|
|
*/
|
|
public function escape($output);
|
|
}
|