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

Add ThemePath model and update BuildThemesCommand to utilize it for t… #31

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

dermatz
Copy link
Collaborator

@dermatz dermatz commented Dec 20, 2024

This pull request introduces several key changes to the BuildThemesCommand class in order to enhance its functionality and improve code organization. The most important changes include the addition of a new ThemePath model, modifications to the BuildThemesCommand constructor and execute method, and updates to the dependency injection configuration.

Enhancements to BuildThemesCommand:

Introduction of ThemePath model:

  • src/Model/ThemePath.php: Created a new ThemePath class responsible for retrieving the path of a theme based on its code. This class uses a ThemeList dependency to fetch all themes and find the corresponding path.

Dependency injection configuration updates:

  • src/etc/di.xml: Updated the dependency injection configuration to include the ThemePath model as a dependency for the BuildThemesCommand class.

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