From 09206ffd53bc70d02549cdd5d5602ed6624b81f9 Mon Sep 17 00:00:00 2001 From: tylersriver Date: Tue, 4 Oct 2022 16:48:19 -0500 Subject: [PATCH] Fix readme --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index d1bb914..622d0d8 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,7 @@ A Tiny view renderer ```php // assumes a __DIR__/path/to/dir/view.phtml file exists -$mira = new Mira\Mira(__DIR__ . '/path/to/views'); +$mira = new Mira\Engine(__DIR__ . '/path/to/views'); // title will be injected as variable $title $page = $mira->render('view', ['title' => 'title']);