From 49eca770720d7029b223dabd08474c8aca4efc6b Mon Sep 17 00:00:00 2001 From: Laurent VOULLEMIER Date: Mon, 31 Aug 2020 11:39:07 +0200 Subject: [PATCH] Remove paragraph about mapping override Because this solution only works if the bundle relies on auto_mapping. IMHO a bundle should add mapping via the dedicated compiler pass and not rely on the application configuration (`auto_mapping: true` in this case). --- bundles/override.rst | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/bundles/override.rst b/bundles/override.rst index e90db9b9315..628464d8349 100644 --- a/bundles/override.rst +++ b/bundles/override.rst @@ -53,13 +53,8 @@ inside a :doc:`compiler pass `. Entities & Entity Mapping ------------------------- -If a bundle defines its entity mapping in configuration files instead of -annotations, you can override them as any other regular bundle configuration -file. The only caveat is that you must override all those mapping configuration -files and not just the ones you actually want to override. - -If a bundle provides a mapped superclass (such as the ``User`` entity in the -FOSUserBundle) you can override its attributes and associations. Learn more +Entity mapping can only be overridden if a bundle provides a mapped superclass (such as the ``User`` entity in the +FOSUserBundle). It's possible to override attributes and associations in this way. Learn more about this feature and its limitations in `the Doctrine documentation`_. Forms pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy