Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tylersriver committed Oct 4, 2022
1 parent 7773035 commit 09206ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit 09206ff

Please sign in to comment.