From 2790e0a98a234ef895a5790f022f53ecd1f1030d Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Sun, 17 Dec 2023 22:21:38 -0500 Subject: [PATCH] update the method call in the extensions documentation. --- doc/content/engine/extensions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/content/engine/extensions.md b/doc/content/engine/extensions.md index e7c6546..2192099 100644 --- a/doc/content/engine/extensions.md +++ b/doc/content/engine/extensions.md @@ -108,7 +108,7 @@ $engine->loadExtension(new ChangeCase()); ## Accessing the engine and template -It may be desirable to access the `engine` or `template` objects from within your extension. Plates makes both of these objects available to you. The engine is automatically passed to the `register()` method, and the template is assigned with a call to `setTemplate` with the according template when available. +It may be desirable to access the `engine` or `template` objects from within your extension. Plates makes both of these objects available to you. The engine is automatically passed to the `register()` method, and the template is assigned with a call to `setTemplate()` with the according template when available. ~~~ php use League\Plates\Engine;