yiisoft / view

Yii view rendering library
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
56 stars 44 forks source link

Use common state for cloned view + Immutable set of paceholder salt + Improve fluent interface + Fix configs #195

Closed vjik closed 2 years ago

vjik commented 2 years ago
Q A
Is bugfix? ✔️
New feature? ✔️
Breaks BC? ✔️
Fixed issues #188

• Use common state for cloned instances of View and WebView.

• Add method withClearedState() for View and WebView that cleared state of view (parameters, blocks, etc.).

• Replace mutable method setPlaceholderSalt() of ViewInterface to immutable withPlaceholderSalt().

• More methods of View and WebView returns self for improve fluent interface of classes.

• Fix configuration: set parameters after reset View and WebView.

• Improve changelog.

samdark commented 2 years ago

https://github.com/yiisoft/demo/pull/410

samdark commented 2 years ago

👍