File tree Expand file tree Collapse file tree 2 files changed +3
-135
lines changed Expand file tree Collapse file tree 2 files changed +3
-135
lines changed Original file line number Diff line number Diff line change @@ -139,18 +139,17 @@ Helpers
139139
140140The Templating component can be easily extended via helpers. Helpers are PHP objects that
141141provide features useful in a template context. The component has
142- 2 built-in helpers :
142+ one built-in helper :
143143
144- * :doc: `/components/templating/assetshelper `
145144* :doc: `/components/templating/slotshelper `
146145
147146Before you can use these helpers, you need to register them using
148147:method: `Symfony\\ Component\\ Templating\\ PhpEngine::set `::
149148
150- use Symfony\Component\Templating\Helper\AssetsHelper ;
149+ use Symfony\Component\Templating\Helper\SlotsHelper ;
151150 // ...
152151
153- $templating->set(new AssetsHelper ());
152+ $templating->set(new SlotsHelper ());
154153
155154Custom Helpers
156155~~~~~~~~~~~~~~
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments