mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
23 lines
495 B
PHP
23 lines
495 B
PHP
<?php
|
|
/**
|
|
* Template renderer Interface.
|
|
*
|
|
* @author Julián Gutiérrez <juliangut@gmail.com>
|
|
* @copyright Copyright (c) Alex Bilbie
|
|
* @license http://mit-license.org/
|
|
*
|
|
* @link https://github.com/thephpleague/oauth2-server
|
|
*/
|
|
namespace League\OAuth2\Server\TemplateRenderer;
|
|
|
|
interface RendererInterface
|
|
{
|
|
/**
|
|
* @param string $template
|
|
* @param array $data
|
|
*
|
|
* @return string
|
|
*/
|
|
public function render($template, array $data = []);
|
|
}
|