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

fix: resolve Blade component class namespace issue by removing redundant 'app' prefix in the service provider and configuration. This caused components to not be recognized in Blade when variables were passed in the component's constructor. #2010

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

reza-asgharzadeh
Copy link

@reza-asgharzadeh reza-asgharzadeh commented Jan 23, 2025

fix: resolve Blade component class namespace issue by removing redundant 'app' prefix in the service provider and configuration. This caused components to not be recognized in Blade when variables were passed in the component's constructor.

The issue was caused by the redundant 'app' prefix in the service provider and configuration, while the prefix is already defined in the PSR-4 configuration. As a result, the component class was not correctly linked to Blade, and variables defined in the component's constructor were not recognized. By removing the redundant 'app' prefix, the issue was resolved.

…pp' prefix in PSR-4 configuration. This caused components to not be recognized in Blade when variables were passed in the component's constructor.
@reza-asgharzadeh reza-asgharzadeh changed the title fix: resolve Blade component namespace issue by removing redundant 'app' prefix in PSR-4 configuration. This caused components to not be recognized in Blade when variables were passed in the component's constructor. fix: resolve Blade component class namespace issue by removing redundant 'app' prefix in the service provider and configuration. This caused components to not be recognized in Blade when variables were passed in the component's constructor. Jan 23, 2025
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