Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #1027 Fix ComponentAttributes constructor typehint and remove…
… ``@internal`` (norkunas) This PR was merged into the 2.x branch. Discussion ---------- Fix ComponentAttributes constructor typehint and remove ``@internal`` | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Tickets | Fix #304 | License | MIT I heavily rely on ComponentAttributes instantiation in components to be able to use same logic on all component elements, for example: ```twig <div{{ attributes.defaults({ ... })> <img{{ imageAttributes.defaults({ ... })> </div> ``` In the issue it was proposed to rename ComponentAttributes but I don't see the point to break the code for people now 🙂 Commits ------- 70d3a78 Fix ComponentAttributes constructor typehint and remove internal
- Loading branch information