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

Component Attribute Bag Methods #3

Merged
merged 9 commits into from
Jul 29, 2024

Conversation

soysudhanshu
Copy link
Owner

@soysudhanshu soysudhanshu commented Jul 18, 2024

Update aims to add support for component attributes methods list mentioned in Laravel 11x docs, through it is not an exhaustive list but it provides a great starting point covering common use cased.

Goals

  • $attributes->merge()
  • $attributes->filter()
  • $attributes->startsWith() & $attributes->doesntStartWith()
  • $attributes->prepends()
  • $attributes->first()
  • Ensure original attributes immutability on $attributes->merge()
  • Ensure original attributes immutability on class.
  • Add docs

@soysudhanshu soysudhanshu merged commit 4cd207c into master Jul 29, 2024
1 check passed
@soysudhanshu soysudhanshu deleted the feature/attribute-bag-methods branch August 15, 2024 06:13
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