Hey there,
I have a question, I am learning mezzio and programming in general for no long time. So I had the task to create some factorys in my code. A co-worker showed me how and one time he implemented the FactoryInterface and one time he doesn’t. Do I have to use the FactoryInterface for every Factory? Because I did not use it in every Factory and it works. I could not figure out, for what exactly I need the FactoryInterface and for what not.
Can somebody explain it to me?
kind regards,
hjerti