소스 검색

Use valid syntax for XML service reference

Adam Quaile 9 년 전
부모
커밋
92f968fd39
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Resources/doc/reference/architecture.rst

+ 1 - 1
Resources/doc/reference/architecture.rst

@@ -75,7 +75,7 @@ your ``Admin`` services. This is done using a ``call`` to the matching ``setter`
               <argument>AppBundle\Entity\Post</argument>
               <argument />
               <call method="setLabelTranslatorStrategy">
-                  <argument>sonata.admin.label.strategy.underscore</argument>
+                  <argument type="service" id="sonata.admin.label.strategy.underscore" />
               </call>
           </service>