Skip to content

add "resolve" to Component::ignoredMethods() method#48373

Merged
taylorotwell merged 2 commits into
laravel:10.xfrom
ph7jack:add-resolve-to-ignored-component-methods
Sep 13, 2023
Merged

add "resolve" to Component::ignoredMethods() method#48373
taylorotwell merged 2 commits into
laravel:10.xfrom
ph7jack:add-resolve-to-ignored-component-methods

Conversation

@ph7jack

@ph7jack ph7jack commented Sep 13, 2023

Copy link
Copy Markdown
Contributor

Hi everyone,

I've made a minor change to the Illuminate\View\Component class by adding the resolve() method into the ignoredMethods().
This method was introduced in this commit, and I believe it should not be added to the view data.

Changes:

  • Add resolve to Component::ignoredMethods()

Purpose:

  • Remove this data exposure from the blade $data, since it's not a method to be able to call in a blade view

Thank you for considering this PR.

Feel free to adjust the wording as necessary to match your style and the specific changes you've made!

- add a missing internal method to the ignored component methods
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.

2 participants