Skip to content

[Nette] prepare type call for Html#8

Merged
TomasVotruba merged 18 commits intomasterfrom
nette-html-add-to-addhtml
Aug 20, 2017
Merged

[Nette] prepare type call for Html#8
TomasVotruba merged 18 commits intomasterfrom
nette-html-add-to-addhtml

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

@TomasVotruba TomasVotruba commented Aug 15, 2017

Ref: https://doc.nette.org/en/2.4/migration-2-4#toc-others

Before

$html = new Html;
$html->add('...');

After

$html = new Html;
$html->addHtml('...');

Or addText, but this method changes behavior, so addHtml is used as direct replacement.

$html = new Html;
$html->addText('...');

TomasVotruba added a commit that referenced this pull request Jul 21, 2023
TomasVotruba added a commit that referenced this pull request Aug 6, 2023
@ebreeze ebreeze mentioned this pull request Oct 3, 2025
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.

1 participant