Skip to content

Commit

Permalink
DebugTemplate::implements __toString
Browse files Browse the repository at this point in the history
  • Loading branch information
jasir committed Mar 23, 2015
1 parent 4d99588 commit 555b0ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DebugTemplate.php
Expand Up @@ -79,4 +79,9 @@ public function __call($method, $params) {
return call_user_func_array(array($this->template,$method), $params);
}

public function __toString()
{
return (string) $this->template;
}

}

0 comments on commit 555b0ed

Please sign in to comment.