How to write a Facade in PHP
What is a Facade ?
It is one of the Structural Design Patterns it provides a simple interface to the complex logic, the Facade delegates client requests to the appropriate objects within a subclass.
Example:
class Facade
{
protected $subsystem...
elghazali.hashnode.dev2 min read