This repository is dedicated to the "Programming Patterns" course, focusing on learning and implementing design patterns in PHP.
- Language: PHP
- Format: One design pattern per laboratory assignment
- Objective: Master the implementation and practical application of design patterns through structured exercises
- Lab Content: Each lab includes:
- A theoretical overview of the design pattern
- A practical task to implement the pattern in PHP
- A sample solution with code and comments
This project demonstrates the implementation of the Singleton design pattern using a simple file storage management system. The system allows a user to connect to one of several storage options, such as:
- Local disk storage
- Amazon S3 storage
The StorageManager class is implemented as a Singleton, ensuring that only one instance of the storage manager exists in the application.