solid-php-example
solid-php-example copied to clipboard
Some examples about SOLID Design Principles in PHP
Although, you are segregating (breaking / granularizing) a larger Interface into smaller interfaces, however only granularizing a large interface into smaller interfaces does not serve the purpose of Interface Segregation...
This update implements the send() method in both the SmtpMailer and SendGridMailer classes, providing output to demonstrate their functionality. Additionally, I added a sendWelcome() method to the SendWelcomeMessage class, which...
Currently, the send() methods in SmtpMailer and SendGridMailer are empty, making it hard to see how each mailer works in the example. **Suggested Fix** Add a simple implementation inside each...