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

[Templating] Added a sentence that explains what a Template Helper is #4344

Closed

Conversation

linaori
Copy link
Contributor

@linaori linaori commented Oct 20, 2014

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. However, it doesn't explain what a helper is.

After some searching, the cookbook does explain what a helper is. 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.

@wouterj
Copy link
Member

wouterj commented Oct 20, 2014

👍 (should be merged into 2.3 btw)

@xabbuh
Copy link
Member

xabbuh commented Oct 20, 2014

👍 Nice addition @iltar

@weaverryan
Copy link
Member

Nice, I love it! Thanks @iltar!

weaverryan added a commit that referenced this pull request Oct 29, 2014
…te 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
@weaverryan weaverryan closed this Oct 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants