You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is good practice to use interfaces for repositories.
Repository methods already return DataReaderInterface objects (this gives us independence from DBAL), it remains only to describe their API in the interfaces.
The text was updated successfully, but these errors were encountered:
Do you mean a common interface or repository-specific interfaces?
It is good to have a common interface in the context of ORM and other common cases.
However in the context of this repository i mean only repository-specific interfaces.
I think it is good practice to use interfaces for repositories.
Repository methods already return
DataReaderInterface
objects (this gives us independence from DBAL), it remains only to describe their API in the interfaces.The text was updated successfully, but these errors were encountered: