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

[String] Add the AbstractString::kebab() method #58385

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

alexandre-daubois
Copy link
Member

@alexandre-daubois alexandre-daubois commented Sep 25, 2024

Q A
Branch? 7.2
Bug fix? no
New feature? yes
Deprecations? no
Issues Fix #48780
License MIT

Supersedes #48781. It seems there's quite a demand for this feature. I think it is a nice DX improvement which also helps readability over calling snake()->replace('_', '-').

@fabpot
Copy link
Member

fabpot commented Sep 30, 2024

Thank you @alexandre-daubois.

@fabpot fabpot merged commit 434e901 into symfony:7.2 Sep 30, 2024
5 of 10 checks passed
javiereguiluz added a commit to symfony/symfony-docs that referenced this pull request Oct 1, 2024
…ndre-daubois)

This PR was merged into the 7.2 branch.

Discussion
----------

[String] Add the `AbstractString::kebab()` method

Waiting code merge
* symfony/symfony#58385

Commits
-------

0bb5a68 [String] Add the `AbstractString::kebab()` method
@fabpot fabpot mentioned this pull request Oct 27, 2024
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.

[String] Add kebab() to methods to change case
6 participants