ugosansh/entity-manager

Entity manager interface

v1.0.2 2014-07-23 17:14 UTC

README

Entity manager interface

Just define a entity manager interface services from Symfony2 bundle. Inspired by Doctrine entity repository

    public fonction createEntity();
    public function save($entity, $flush = true);
    public function remove($entity);d);
    public function findAll();
    public function findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null);
    public function findOneBy(array $criteria, array $orderBy = null);

see also https://github.com/UgoSansH/doctrine-bundle