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

[Twig] Hide internal parameter in tail completion of extensions #314

Closed
Haehnchen opened this issue Jul 28, 2014 · 2 comments
Closed

[Twig] Hide internal parameter in tail completion of extensions #314

Haehnchen opened this issue Jul 28, 2014 · 2 comments
Labels

Comments

@Haehnchen
Copy link
Owner

first method parameter in most twig extension are twig internals, remove them from completion visibility

@stof
Copy link
Contributor

stof commented Aug 22, 2014

@Haehnchen a Twig function can actually have 2 internal parameters (added in the first places when needed):

  • the environment based on needs_environment in the function options
  • the current context (which is an array) based on needs_context.

@Haehnchen
Copy link
Owner Author

@Haehnchen Haehnchen reopened this Aug 22, 2014
@Haehnchen Haehnchen changed the title [Twig] Hide first parameter in tail completion of extensions [Twig] Hide internal parameter in tail completion of extensions Aug 22, 2014
@Haehnchen Haehnchen added the todo label Oct 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants