فهرست منبع

changed wording a bit

Johannes 13 سال پیش
والد
کامیت
092ba448aa
1فایلهای تغییر یافته به همراه6 افزوده شده و 4 حذف شده
  1. 6 4
      Resources/doc/index.rst

+ 6 - 4
Resources/doc/index.rst

@@ -123,11 +123,12 @@ The serializer can also be accessed via a Twig filter and will default to
     {{ myObject | serialize('xml') | raw }}
     {{ myObject | serialize('xml') | raw }}
 
 
 Overriding Metadata
 Overriding Metadata
-~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~
 
 
-Sometimes you need to override the metadata for a namespace which doesn't have 
-any or one is provided but it doesn't suit your needs. 
-If that is the case then you need to define a different metadata location in a config.
+Sometimes you want to serialize objects which are shipped by a third-party bundle. 
+Such a third-party bundle might not ship with metadata that suits your needs, or 
+possibly none, at all. In such a case, you can override the default location that
+is searched for metadata with a path that is under your control.
 
 
 ::
 ::
 
 
@@ -138,6 +139,7 @@ If that is the case then you need to define a different metadata location in a c
                     namespace_prefix: FOS\UserBundle
                     namespace_prefix: FOS\UserBundle
                     path: %kernel.root_dir%/serializer/FOSUB
                     path: %kernel.root_dir%/serializer/FOSUB
 
 
+
 Versioning
 Versioning
 ~~~~~~~~~~
 ~~~~~~~~~~