|
|
|
@ -23,6 +23,9 @@ doctrine: |
|
|
|
use_savepoints: false |
|
|
|
use_savepoints: false |
|
|
|
orm: |
|
|
|
orm: |
|
|
|
auto_generate_proxy_classes: true |
|
|
|
auto_generate_proxy_classes: true |
|
|
|
|
|
|
|
enable_lazy_ghost_objects: true |
|
|
|
|
|
|
|
report_fields_where_declared: true |
|
|
|
|
|
|
|
validate_xml_mapping: true |
|
|
|
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware |
|
|
|
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware |
|
|
|
auto_mapping: true |
|
|
|
auto_mapping: true |
|
|
|
query_cache_driver: |
|
|
|
query_cache_driver: |
|
|
|
@ -32,6 +35,24 @@ doctrine: |
|
|
|
type: pool |
|
|
|
type: pool |
|
|
|
pool: doctrine.result_cache_pool |
|
|
|
pool: doctrine.result_cache_pool |
|
|
|
mappings: |
|
|
|
mappings: |
|
|
|
|
|
|
|
chamilo_core: |
|
|
|
|
|
|
|
type: attribute |
|
|
|
|
|
|
|
is_bundle: false |
|
|
|
|
|
|
|
dir: '%kernel.project_dir%/src/CoreBundle/Entity' |
|
|
|
|
|
|
|
prefix: 'Chamilo\CoreBundle\Entity' |
|
|
|
|
|
|
|
alias: ChamiloCoreBundle |
|
|
|
|
|
|
|
chamilo_course: |
|
|
|
|
|
|
|
type: attribute |
|
|
|
|
|
|
|
is_bundle: false |
|
|
|
|
|
|
|
dir: '%kernel.project_dir%/src/CourseBundle/Entity' |
|
|
|
|
|
|
|
prefix: 'Chamilo\CourseBundle\Entity' |
|
|
|
|
|
|
|
alias: ChamiloCourseBundle |
|
|
|
|
|
|
|
chamilo_lti: |
|
|
|
|
|
|
|
type: attribute |
|
|
|
|
|
|
|
is_bundle: false |
|
|
|
|
|
|
|
dir: '%kernel.project_dir%/src/LtiBundle/Entity' |
|
|
|
|
|
|
|
prefix: 'Chamilo\LtiBundle\Entity' |
|
|
|
|
|
|
|
alias: ChamiloLtiBundle |
|
|
|
gedmo_translatable: |
|
|
|
gedmo_translatable: |
|
|
|
type: annotation |
|
|
|
type: annotation |
|
|
|
prefix: Gedmo\Translatable\Entity |
|
|
|
prefix: Gedmo\Translatable\Entity |
|
|
|
@ -56,6 +77,7 @@ doctrine: |
|
|
|
dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Tree/Entity" |
|
|
|
dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Tree/Entity" |
|
|
|
alias: GedmoTree # (optional) it will default to the name set for the mapping |
|
|
|
alias: GedmoTree # (optional) it will default to the name set for the mapping |
|
|
|
is_bundle: false |
|
|
|
is_bundle: false |
|
|
|
|
|
|
|
|
|
|
|
dql: |
|
|
|
dql: |
|
|
|
string_functions: |
|
|
|
string_functions: |
|
|
|
MONTH: DoctrineExtensions\Query\Mysql\Month |
|
|
|
MONTH: DoctrineExtensions\Query\Mysql\Month |
|
|
|
@ -64,4 +86,32 @@ doctrine: |
|
|
|
softdeleteable: |
|
|
|
softdeleteable: |
|
|
|
class: Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter |
|
|
|
class: Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter |
|
|
|
enabled: true |
|
|
|
enabled: true |
|
|
|
enable_lazy_ghost_objects: true |
|
|
|
|
|
|
|
|
|
|
|
when@test: |
|
|
|
|
|
|
|
doctrine: |
|
|
|
|
|
|
|
dbal: |
|
|
|
|
|
|
|
# "TEST_TOKEN" is typically set by ParaTest |
|
|
|
|
|
|
|
dbname_suffix: '_test%env(default::TEST_TOKEN)%' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
when@prod: |
|
|
|
|
|
|
|
doctrine: |
|
|
|
|
|
|
|
orm: |
|
|
|
|
|
|
|
auto_generate_proxy_classes: false |
|
|
|
|
|
|
|
proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies' |
|
|
|
|
|
|
|
metadata_cache_driver: |
|
|
|
|
|
|
|
type: pool |
|
|
|
|
|
|
|
pool: doctrine.system_cache_pool |
|
|
|
|
|
|
|
query_cache_driver: |
|
|
|
|
|
|
|
type: pool |
|
|
|
|
|
|
|
pool: doctrine.system_cache_pool |
|
|
|
|
|
|
|
result_cache_driver: |
|
|
|
|
|
|
|
type: pool |
|
|
|
|
|
|
|
pool: doctrine.result_cache_pool |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
framework: |
|
|
|
|
|
|
|
cache: |
|
|
|
|
|
|
|
pools: |
|
|
|
|
|
|
|
doctrine.result_cache_pool: |
|
|
|
|
|
|
|
adapter: cache.app |
|
|
|
|
|
|
|
doctrine.system_cache_pool: |
|
|
|
|
|
|
|
adapter: cache.system |
|
|
|
|