Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1d71332

Browse filesBrowse files
committed
minor #4344 [Templating] Added a sentence that explains what a Template Helper is (iltar)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #4344). Discussion ---------- [Templating] Added a sentence that explains what a Template Helper is | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | n/a I found a SecurityHelper in the SecurityBundle. I was unsure what this helper was or what it was supposed to do. After some googling I've landed on the templating component documation. This is correct as the `HelperInterface` can be found in [the component](http://symfony.com/doc/current/components/templating/introduction.html#helpers). However, it doesn't explain what a helper is. After some searching, [the cookbook *does* explain what a helper is](http://symfony.com/doc/current/cookbook/templating/PHP.html#using-template-helpers). I've pretty much copied over the sentence from the cookbook to the component. If you have a better proposal, I can add that instead. Commits ------- 6cdecde [Templating] Added a sentence that explains what a Template Helper is
2 parents 691b13d + 6cdecde commit 1d71332
Copy full SHA for 1d71332

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎components/templating/introduction.rst

Copy file name to clipboardExpand all lines: components/templating/introduction.rst
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ escaper using the
135135
Helpers
136136
-------
137137

138-
The Templating component can be easily extended via helpers. The component has
138+
The Templating component can be easily extended via helpers. Helpers are PHP objects that
139+
provide features useful in a template context. The component has
139140
2 built-in helpers:
140141

141142
* :doc:`/components/templating/helpers/assetshelper`

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.