Explorar o código

Fixing typos on the architecture chapter

Baptiste "Talus" Clavie %!s(int64=13) %!d(string=hai) anos
pai
achega
609bb0e469
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      Resources/doc/reference/architecture.rst

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

@@ -105,9 +105,9 @@ Inside the controller, the ``Admin`` object is accessible through the
 Obtaining an ``Admin`` Service
 ------------------------------
 
-``Admin`` definitions are accessible through the 'sonata.admin.pool' service or
-directly from the DIC (dependency injection container). The ``Admin`` definitions are lazy
-loaded from the DIC to reduce overhead.
+``Admin`` definitions are accessible through the ``sonata.admin.pool`` service or
+directly from the DIC (dependency injection container). The ``Admin`` definitions 
+are lazy-loaded from the DIC to reduce overhead.
 
 Declaring a new Admin class
 ---------------------------
@@ -116,7 +116,7 @@ Once you have created an admin class, you need to make the framework aware of
 it. To do that, you need to add a tag with the name ``sonata.admin`` to the
 service. Parameters for that tag are:
 
-* ``manager_type``: Label of the document manager to inject;
+* ``manager_type``: Label of the database manager to use;
 * ``group``: A label to allow grouping on the dashboard;
 * ``label``: Label to use for the name of the entity this manager handles;
 
@@ -132,7 +132,7 @@ Examples:
         <argument />
         <argument>Sonata\NewsBundle\Entity\Post</argument>
         <argument>SonataAdminBundle:CRUD</argument>
-</service>
+    </service>
 
 If you want to define your own controller for handling CRUD operations, change the last argument
 in the service definition to::