diff --git a/doctrine/multiple_entity_managers.rst b/doctrine/multiple_entity_managers.rst index 081239bcd9f..b470f33d1d1 100644 --- a/doctrine/multiple_entity_managers.rst +++ b/doctrine/multiple_entity_managers.rst @@ -43,7 +43,6 @@ The following configuration code shows how you can configure two entity managers mappings: Main: is_bundle: false - type: annotation dir: '%kernel.project_dir%/src/Entity/Main' prefix: 'App\Entity\Main' alias: Main @@ -52,7 +51,6 @@ The following configuration code shows how you can configure two entity managers mappings: Customer: is_bundle: false - type: annotation dir: '%kernel.project_dir%/src/Entity/Customer' prefix: 'App\Entity\Customer' alias: Customer @@ -85,7 +83,6 @@ The following configuration code shows how you can configure two entity managers connection('default'); $defaultEntityManager->mapping('Main') ->isBundle(false) - ->type('annotation') ->dir('%kernel.project_dir%/src/Entity/Main') ->prefix('App\Entity\Main') ->alias('Main'); @@ -135,7 +130,6 @@ The following configuration code shows how you can configure two entity managers $customerEntityManager->connection('customer'); $customerEntityManager->mapping('Customer') ->isBundle(false) - ->type('annotation') ->dir('%kernel.project_dir%/src/Entity/Customer') ->prefix('App\Entity\Customer') ->alias('Customer')