[FEATURE] Add a Dependency Inversion Container
Class to Pancake
#235
Labels
♻️ code quality
Code quality-related tasks or issues
📝 documentation
Tasks related to writing or updating documentation
enhancement
New feature or request
gitauto
GitAuto label to trigger the app in a issue.
good first issue
Good for newcomers
hacktoberfest
Participation in the Hacktoberfest event
help wanted
Extra attention is needed
🕔 high effort
A task that can be completed in a few days
🧪 tests
Tasks related to testing
🛠 WIP
Work in progress
Description:
I would like to add a Dependency Inversion Container class to the Pancake project. This class should be responsible for handling service (class) registrations and resolving these services when needed, following the Dependency Injection (DI) pattern. This will improve modularity and flexibility within the Pancake framework.
The class should support:
Below is an example of the
DIContainer.php
file to illustrate the expected implementation:Task Requirements:
Additional Requirements:
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: