Hello,
Did someone once faced a recursive error while using DI with service container in @laravelphp ? I've got a maximum call stack size reached. I have two services class that call each other
Laravel tries to create an instance of the first class, which tries to create an instance of the second class, which tries to create an instance of the first class and so on... That's why this is happening. Do you really need those two classes to depend on each other? (Christoph)
Thanks for your reply.
Yes the dependance between the two classes was necessary at that point.