diff --git a/src/Contracts/TemplateInterface.php b/src/Contracts/TemplateInterface.php
index <HASH>..<HASH> 100644
--- a/src/Contracts/TemplateInterface.php
+++ b/src/Contracts/TemplateInterface.php
@@ -71,6 +71,14 @@ interface TemplateInterface
     public function data();
 
     /**
+     * Set data for the template
+     *
+     * @param  array  $data
+     * @return string
+     */
+    public function setData(array $data);
+
+    /**
      * Run a registered function. Methods may receive any number of argument.
      *
      * @param  string $function
Added setData() to TemplateInterface