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

Feature/143 #1

Merged
merged 5 commits into from
Oct 12, 2015
Merged

Feature/143 #1

merged 5 commits into from
Oct 12, 2015

Conversation

weierophinney
Copy link

This patch rebases against develop, and incorporates the feedback I provided in zendframework#143.

However, you have new commits on your branch since I started my work, so I may need to rebase against your code again to make this work.

- Adds the method `addDefaultParam($templateName, $key, $value)` to
  `TemplateRendererInterface`; define a TEMPLATE_ALL constant.
  Replaces `addParameters()`.
- Renames `AddParametersTrait` to `DefaultParamsTrait`
  - Renames `$templateParams` to `$defaultParams`
  - Renames `addParameters()` to `addDefaultParam()`
- Updates PlatesRenderer to the interface changes.
- Modifies Twig and ZendView renderers to use the new trait.
- Wrote tests for the behavior for each renderer.
- `s/$template/$renderer/` throughout new tests.
@weierophinney
Copy link
Author

Fixed the conflicts; ready to review and merge now, @kynx .

kynx added a commit that referenced this pull request Oct 12, 2015
@kynx kynx merged commit d2c9335 into kynx:template-add-parameter Oct 12, 2015
@weierophinney weierophinney deleted the feature/143 branch January 30, 2017 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants