mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Merge pull request #326
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
doctrine_phpcr:
|
||||
# configure the PHPCR session
|
||||
session:
|
||||
backend:
|
||||
type: doctrinedbal
|
||||
connection: default
|
||||
caches:
|
||||
meta: doctrine_cache.providers.phpcr_meta
|
||||
nodes: doctrine_cache.providers.phpcr_nodes
|
||||
parameters:
|
||||
jackalope.check_login_on_server: false
|
||||
workspace: '%env(PHPCR_WORKSPACE)%'
|
||||
username: '%env(PHPCR_USER)%'
|
||||
password: '%env(PHPCR_PASSWORD)%'
|
||||
# enable the ODM layer
|
||||
odm:
|
||||
auto_mapping: true
|
||||
auto_generate_proxy_classes: true
|
||||
# add your locale configuration here as described in: https://symfony.com/doc/current/cmf/bundles/phpcr_odm/multilang.html#translation-configuration
|
||||
doctrine_cache:
|
||||
providers:
|
||||
phpcr_meta:
|
||||
type: file_system
|
||||
phpcr_nodes:
|
||||
type: file_system
|
||||
14
doctrine/phpcr-dbal-symfony-pack/1.0/manifest.json
Normal file
14
doctrine/phpcr-dbal-symfony-pack/1.0/manifest.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Doctrine\\Bundle\\PHPCRBundle\\DoctrinePHPCRBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"PHPCR_USER": "admin",
|
||||
"PHPCR_PASSWORD": "admin",
|
||||
"PHPCR_WORKSPACE": "default"
|
||||
}
|
||||
}
|
||||
0
doctrine/phpcr-dbal-symfony-pack/1.0/src/Document/.gitignore
vendored
Normal file
0
doctrine/phpcr-dbal-symfony-pack/1.0/src/Document/.gitignore
vendored
Normal file
Reference in New Issue
Block a user