Added missing RendererInterface

This commit is contained in:
Alex Bilbie 2016-03-17 11:22:04 +00:00
parent 15b6506644
commit 7b8d9c9af3
2 changed files with 25 additions and 1 deletions

View File

@ -10,7 +10,7 @@
*/
namespace League\OAuth2\Server\TemplateRenderer;
abstract class AbstractRenderer
abstract class AbstractRenderer implements RendererInterface
{
/**
* @var string

View File

@ -0,0 +1,24 @@
<?php
namespace League\OAuth2\Server\TemplateRenderer;
interface RendererInterface
{
/**
* Render login template.
*
* @param array $data
*
* @return string
*/
public function renderLogin(array $data = []);
/**
* Render authorize template.
*
* @param array $data
*
* @return string
*/
public function renderAuthorize(array $data = []);
}