Description
Hi,
I did a search for contracts inside the issues. Didn't noticed anything. In case this is already discussed, my apologies. Please link me to the particular thread.
The idea is to split some of the interfaces that are needed / useful inside certain components.
I have a feeling that when interfaces are split to its own ( probably single interfaces ) it will help not to include the library itself on the require-dev. But it will help to make use of the interface being used inside the component.
So if someone need to make use of a third party component they could just implement the interface and make use of their own components so will reduce a tight coupling. And as Symfony components already implement them users can just bind it easily.
Interested to hear if anyone have thought / discussed this. ( Inspired by Illuminate contracts , psr/log, psr/http-message)
Thank you.