0
연결에 대한 a2lix_i18n_doctrine, 그리고이 오류가 방법 :설정 내 프로젝트의 lib 디렉토리 "a2lix/국제화-교리 번들"에 MongoDB를
[Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]
Unable to replace alias "doctrine.odm.document_manager" with
"a2lix_i18n_doctrine.object_manager".
내가 ODM에 대한 설정이 있습니다
doctrine_mongodb:
connections:
default:
server: "mongodb://%mongo_host%:%mongo_port%"
options:
username: "%mongo_username%"
password: "%mongo_password%"
default_database: "%mongo_dbname%"
document_managers:
default:
# auto_mapping: true
mappings:
BlablaBundle:
type: annotation
dir: Document/
prefix: Blabla\TratataBundle\Document
alias: RE
FOSUserBundle: ~
SonataUserBundle: ~
SonataAdminBundle: ~
gedmo_translatable:
type: annotation
prefix: Gedmo\Translatable\Document
dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Translatable/Document"
alias: GedmoTranslatable # this one is optional and will default to the name set for the mapping
is_bundle: false
filters:
oneLocale:
class: A2lix\I18nDoctrineBundle\Doctrine\ORM\Filter\OneLocaleFilter
enabled: true
문서가이를 MongoDB에 대한 설정 정보가 아닙니다. 그것을 고치는 방법?