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

Adds new parameter for render method to allow custom variables for view script #13

Closed

Conversation

froschdesign
Copy link
Member

Q A
Enhancement yes

…ering

Signed-off-by: Frank Brückner <dev@froschdesignstudio.de>
Copy link
Member

@michalbundyra michalbundyra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As noted in the comment below - it is BC Break, so added for 3.0.0 milestone.

{
public function render(
View\Renderer\RendererInterface $view = null,
array $params = []
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@froschdesign adding argument to public method which is not final/internal (also class is not final/internal) is a BC Break. Added label and milestone for that PR.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct! 👍
This pull request can wait and was only opened so that I do not forget the feature myself.

@froschdesign
Copy link
Member Author

The rendering will be extracted in the next major version, so this extension is not needed.

@froschdesign froschdesign deleted the feature/params-on-render branch February 18, 2022 09:56
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.

None yet

3 participants