arus/doctrine-repository-factory

This package is abandoned and no longer maintained. The author suggests using the arus/doctrine-bridge package instead.

Doctrine Repository Factory with PHP-DI injection support

v1.0.1 2019-02-17 14:56 UTC

This package is auto-updated.

Last update: 2020-02-10 17:45:54 UTC


README

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Total Downloads License

Installation (via composer)

composer require arus/doctrine-repository-factory

How to use?

use Arus\Doctrine\RepositoryFactory\InjectableRepositoryFactory;

/** @var $config \Doctrine\ORM\Configuration */
/** @var $container \DI\Container */

$config->setRepositoryFactory(new InjectableRepositoryFactory($container));

Test run

composer test

Useful links