From ba0c2b36ad5d3db8ac5f39a9b3c6d6c89b653d9f Mon Sep 17 00:00:00 2001 From: luizcoelhoc1 Date: Wed, 12 Jun 2019 11:00:09 -0300 Subject: [PATCH] =?UTF-8?q?Coment=C3=A1rios=20em=20Template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Visualizacao/Template.php | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/Visualizacao/Template.php b/src/Visualizacao/Template.php index 2e48c4a..c544828 100644 --- a/src/Visualizacao/Template.php +++ b/src/Visualizacao/Template.php @@ -1,36 +1,33 @@ arquivo = file_get_contents($arquivo); } else { @@ -41,12 +38,15 @@ public function __construct($arquivo, $chave = null) { } } + /*** + * Seta uma chave do template com um valor + */ public function set($chave, $valor) { $this->valores[$chave] = $valor; } - /** - * TODO Auto-generated comment. + /*** + * Retorna o template montado */ public function output() { if (!empty($this->valores)) {