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
Requires
- php: ^7.1
Requires (Dev)
- arus/php-coding-standard: 1.0.0
- doctrine/annotations: ^1.6
- doctrine/orm: ^2.6
- php-di/php-di: ^6.0
- phpunit/php-code-coverage: 6.1.4
- phpunit/phpunit: 7.5.5
This package is auto-updated.
Last update: 2020-02-10 17:45:54 UTC
README
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