sergiors/doctrine-manager-registry-service-provider

dev-master 2017-12-14 05:34 UTC

This package is not auto-updated.

Last update: 2024-12-21 19:42:28 UTC


README

Install

composer require sergiors/doctrine-manager-registry-service-provider "dev-master"
use Silex\Provider\DoctrineServiceProvider;
use Silex\Provider\ValidatorServiceProvider;
use Sergiors\Silex\Provider\DoctrineCacheServiceProvider;
use Sergiors\Silex\Provider\DoctrineOrmServiceProvider;
use Sergiors\Silex\Provider\DoctrineManagerRegistryServiceProvider;

$app->register(new ValidatorServiceProvider());
$app->register(new DoctrineServiceProvider());
$app->register(new DoctrineCacheServiceProvider());
$app->register(new DoctrineOrmServiceProvider());
$app->register(new DoctrineManagerRegistryServiceProvider());

License

MIT