First time i encounter Circular dependency
1. The problem
In the last semester while working on my Laravel project, i encountered a problem which led to a memory leak whenever i call an API that interacts with my OrderService class:
class OrderService {
public function __construct(privat...
toilacube.hashnode.dev3 min read