Ejemplo n.º 1
0
 /**
  * @param EntityManagerBuilder $builder
  */
 public function registerInventoryMapping(EntityManagerBuilder $builder)
 {
     $builder->registerMapping(DUMPLIE_SRC_PATH . '/Dumplie/Inventory/Infrastructure/Doctrine/ORM/Resources/Mapping/Domain', 'Dumplie\\Inventory\\Domain')->registerCustomType(OrderStateType::NAME, OrderStateType::class)->registerCustomType(PaymentStateType::NAME, PaymentStateType::class);
 }
Ejemplo n.º 2
0
 /**
  * @param EntityManagerBuilder $builder
  */
 public function registerCustomerMapping(EntityManagerBuilder $builder)
 {
     $builder->registerMapping(DUMPLIE_SRC_PATH . '/Dumplie/Customer/Infrastructure/Doctrine/ORM/Resources/Mapping/Domain', 'Dumplie\\Customer\\Domain')->registerCustomType(CartItemsType::NAME, CartItemsType::class)->registerCustomType(OrderItemsType::NAME, OrderItemsType::class);
 }
Ejemplo n.º 3
0
 /**
  * @param EntityManagerBuilder $builder
  */
 public function registerCustomerServiceMapping(EntityManagerBuilder $builder)
 {
     $builder->registerMapping(DUMPLIE_SRC_PATH . '/Dumplie/CustomerService/Infrastructure/Doctrine/ORM/Resources/Mapping/Domain', 'Dumplie\\CustomerService\\Domain');
 }