What is repository in doctrine?
I wonder what a repos开发者_Python百科itory means in doctrine?
Could someone please explain?
A repository in a term used by many ORMs (Object Relational Mappers), doctrine is just one of these.
It means the place where our data can be accessed from, a repository of data. This is to distinguish it from a database as a repository does not care how its data is stored.
See the Repository Pattern from Martin Fowlers "Patterns of Enterprise Application Architecture".
精彩评论