michaldudek/Knit

Create a Symfony2 bundle

Closed this issue · 0 comments

Integrate with Symfony2 and expose crucial services and configuration.

The pattern is that all repositories should be services as they need to be injected to other services anyway. Knit\Knit::getRepository() can be their factory.

Configuration should allow to configure multiple stores and configure repositories on per object class basis, ie customize the store and the datamapper.