Skip to content

Conversation

@ph7jack
Copy link
Contributor

@ph7jack ph7jack commented Sep 13, 2023

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