eventjet/psr-container-doctrine-odm
Composer 安装命令:
composer require eventjet/psr-container-doctrine-odm
包简介
Doctrine ODM factory for PSR-11 container
README 文档
README
This package provides additional factories for Doctrine MongoDB ODM on top of
roave/psr-container-doctrine to be used with containers
using the PSR-11 standard.
Installation
$ composer require eventjet/psr-container-doctrine-odm
Configuration
The most basic way is just defining the factory for the DocumentManager. Everything else is taken from the
configuration.
return [ 'dependencies' => [ 'factories' => [ DocumentManager::class => DocumentManagerFactory::class, ], ], ];
Example Configuration
A full example of the configuration can be found in the examples folder.
The configuration style is heavily based
on roave/psr-container-doctrine
to retain the familiarity. Also, the configuration should be compatible with the
'DoctrineMongoODMModule for Laminas.
统计信息
- 总下载量: 507
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-08-01