Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Mapping orm
- doctrine:
- dbal:
- default_connection: default
- types:
- timestamp: LaFourchette\CoreBundle\Doctrine\Types\TimestampType
- connections:
- default:
- driver: %database_core_driver%
- host: %database_core_host%
- port: %database_core_port%
- dbname: %database_core_name%
- user: %database_core_user%
- password: %database_core_password%
- charset: UTF8
- mapping_types:
- enum: string
- restaurant_stock:
- driver: %database_core_driver%
- host: %database_core_host%
- port: %database_core_port%
- dbname: %database_restaurant_stock_name%
- user: %database_core_user%
- password: %database_core_password%
- charset: UTF8
- mapping_types:
- enum: string
- sharding:
- shard_managers:
- customer:
- wrapper_class: LaFourchette\DoctrineBundle\Doctrine\DBAL\Connections\PoolingShardMasterSlaveConnection
- shard_count: 100
- charset: UTF8
- mapping_types:
- enum: string
- shards_configuration:
- customer_0_99:
- range: [0,99]
- prefix: %shard_customer_prefix%customer_
- driver: %shard_customer_driver%
- host: %shard_customer_host%
- port: %shard_customer_port%
- user: %shard_customer_user%
- password: %shard_customer_password%
- charset: UTF8
- slaves: %slaves_customer%
- stock:
- wrapper_class: LaFourchette\DoctrineBundle\Doctrine\DBAL\Connections\PoolingShardMasterSlaveConnection
- shard_choser_class: LaFourchette\CoreBundle\Doctrine\DBAL\Sharding\DateShardChoser
- shard_count: 100
- charset: UTF8
- mapping_types:
- enum: string
- shards_configuration:
- stock_0_99:
- range: [0,99]
- prefix: %shard_stock_prefix%stock_
- driver: %shard_stock_driver%
- host: %shard_stock_host%
- port: %shard_stock_port%
- user: %shard_stock_user%
- password: %shard_stock_password%
- charset: UTF8
- slaves: %slaves_stock%
- tracking:
- wrapper_class: LaFourchette\DoctrineBundle\Doctrine\DBAL\Connections\PoolingShardMasterSlaveConnection
- shard_count: 100
- charset: UTF8
- mapping_types:
- enum: string
- shards_configuration:
- tracking_0_99:
- range: [0,99]
- prefix: %shard_tracking_prefix%tracking_
- driver: %shard_tracking_driver%
- host: %shard_tracking_host%
- port: %shard_tracking_port%
- user: %shard_tracking_user%
- password: %shard_tracking_password%
- charset: UTF8
- slaves: %slaves_tracking%
- orm:
- auto_generate_proxy_classes: %kernel.debug%
- entity_managers:
- default:
- connection: default
- query_cache_driver: apc
- metadata_cache_driver: apc
- result_cache_driver: apc
- dql:
- numeric_functions:
- acos: DoctrineExtensions\Query\Mysql\Acos
- cos: DoctrineExtensions\Query\Mysql\Cos
- round: DoctrineExtensions\Query\Mysql\Round
- sin: DoctrineExtensions\Query\Mysql\Sin
- string_functions:
- radians: DoctrineExtensions\Query\Mysql\Radians
- mappings:
- LaFourchetteContentBundle:
- type: annotation
- prefix: LaFourchette\ContentBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/ContentBundle/Entities/Core"
- LaFourchetteCustomerBundle:
- type: annotation
- prefix: LaFourchette\CustomerBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/CustomerBundle/Entities/Core"
- LaFourchetteRateBundle:
- type: annotation
- prefix: LaFourchette\RateBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/RateBundle/Entities/Core"
- LaFourchetteRestaurantBundle:
- type: annotation
- prefix: LaFourchette\RestaurantBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/RestaurantBundle/Entities/Core"
- LaFourchetteCoreBundle:
- type: annotation
- prefix: LaFourchette\CoreBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/CoreBundle/Entities/Core"
- LaFourchetteReservationBundle:
- type: annotation
- prefix: LaFourchette\ReservationBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/ReservationBundle/Entities/Core"
- LaFourchetteTagBundle:
- type: annotation
- prefix: LaFourchette\TagBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/TagBundle/Entities/Core"
- LaFourchetteStockBundle:
- type: annotation
- prefix: LaFourchette\StockBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/StockBundle/Entities/Core"
- LaFourchetteTrackingBundle:
- type: annotation
- prefix: LaFourchette\TrackingBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/TrackingBundle/Entities/Core"
- LaFourchetteTimelineBundle:
- type: annotation
- prefix: LaFourchette\TimelineBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/TimelineBundle/Entities/Core"
- LaFourchetteHomepageBundle:
- type: annotation
- prefix: LaFourchette\HomepageBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/HomepageBundle/Entities/Core"
- LaFourchetteECircleBundle:
- type: annotation
- prefix: LaFourchette\ECircleBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/ECircleBundle/Entities/Core"
- LaFourchetteGeoBundle:
- type: annotation
- prefix: LaFourchette\GeoBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/GeoBundle/Entities/Core"
- LaFourchetteSearchBundle:
- type: annotation
- prefix: LaFourchette\SearchBundle\Entities\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/SearchBundle/Entities/Core"
- LaFourchetteEventBundle: ~
- LaFourchetteLoyaltyBundle:
- type: annotation
- prefix: LaFourchette\LoyaltyBundle\Entity\Core
- dir: "%kernel.root_dir%/../src/LaFourchette/LoyaltyBundle/Entity/Core"
- LaFourchetteFoodReportBundle:
- type: annotation
- prefix: LaFourchette\FoodReportBundle\Entity
- dir: "%kernel.root_dir%/../src/LaFourchette/FoodReportBundle/Entity"
- customer:
- connection: customer
- query_cache_driver: apc
- metadata_cache_driver: apc
- result_cache_driver: apc
- mappings:
- LaFourchetteCustomerBundle:
- type: annotation
- prefix: LaFourchette\CustomerBundle\Entities\Customer
- dir: "%kernel.root_dir%/../src/LaFourchette/CustomerBundle/Entities/Customer"
- LaFourchetteLoyaltyBundle:
- type: annotation
- prefix: LaFourchette\LoyaltyBundle\Entity\Customer
- dir: "%kernel.root_dir%/../src/LaFourchette/LoyaltyBundle/Entity/Customer"
- stock:
- connection: stock
- query_cache_driver: apc
- metadata_cache_driver: apc
- result_cache_driver: apc
- mappings:
- LaFourchetteStockBundle:
- type: annotation
- prefix: LaFourchette\StockBundle\Entities\Stock
- dir: "%kernel.root_dir%/../src/LaFourchette/StockBundle/Entities/Stock"
- tracking:
- connection: tracking
- query_cache_driver: apc
- metadata_cache_driver: apc
- result_cache_driver: apc
- mappings:
- LaFourchetteTrackingBundle:
- type: annotation
- prefix: LaFourchette\TrackingBundle\Entities\Tracking
- dir: "%kernel.root_dir%/../src/LaFourchette/TrackingBundle/Entities/Tracking"
- restaurant_stock:
- connection: restaurant_stock
- query_cache_driver: apc
- metadata_cache_driver: apc
- result_cache_driver: apc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement