Skip to content

Commit 1b141ab

Browse files
author
janatzend
committed
correct template usage documentation
1 parent 09e1e98 commit 1b141ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ echo $shell->exec('ls -la /tmp');
203203
$template = $deph->get('Template');
204204
// or for Sytax Highlighting
205205
$template = $deph->getTemplate();
206-
$template->useIt('tpl/test.txt', '/tmp/test.txt', array('abc', 'xyz'), array(123, 456));
206+
$template->write('tpl/test.txt', '/tmp/test.txt', array('abc', 'xyz'), array(123, 456));
207207
$content = $template->dryRun('tpl/test.txt', '/tmp/test2.txt', array('abc', 'xyz'), array(123, 456));
208208
print_r($content);
209209
```

0 commit comments

Comments
 (0)