Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in docs #33

Closed
samdark opened this issue Oct 14, 2014 · 1 comment
Closed

Typo in docs #33

samdark opened this issue Oct 14, 2014 · 1 comment

Comments

@samdark
Copy link

samdark commented Oct 14, 2014

http://platesphp.com/templates/, Manually creating templates code block:

// Create new Plates instance
$templates = new League\Plates\Engine('/path/to/templates');

// Create a new template
$template = new League\Plates\Template\Template($templates, 'profile');

// Render the template
echo template->render(['name' => 'Jonathan']);

Last line is missing $ before template.

@reinink
Copy link
Contributor

reinink commented Oct 14, 2014

Hey thanks! I've fixed this mistake (d53db1e). Much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants