From fe0ed765a5cf46bbec3a29f068165ff007bb3df4 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Thu, 24 Mar 2016 13:56:31 +0000 Subject: [PATCH] Added setTemplateRenderer method --- src/Grant/AbstractAuthorizeGrant.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Grant/AbstractAuthorizeGrant.php b/src/Grant/AbstractAuthorizeGrant.php index e409d2b2..aa578335 100644 --- a/src/Grant/AbstractAuthorizeGrant.php +++ b/src/Grant/AbstractAuthorizeGrant.php @@ -22,6 +22,16 @@ abstract class AbstractAuthorizeGrant extends AbstractGrant */ protected $templateRenderer; + /** + * Set the template renderer + * + * @param RendererInterface $templateRenderer + */ + public function setTemplateRenderer(RendererInterface $templateRenderer) + { + $this->templateRenderer = $templateRenderer; + } + /** * Retrieve template renderer. *