Sfoglia il codice sorgente

File location added for admin class in documentation

Peter Kokot 11 anni fa
parent
commit
615ffe815b
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      Resources/doc/reference/getting_started.rst

+ 3 - 0
Resources/doc/reference/getting_started.rst

@@ -67,6 +67,9 @@ for it could look like:
 
 .. code-block:: php
 
+   <?php
+   // src/Acme/DemoBundle/Admin/PostAdmin.php
+
    namespace Acme\DemoBundle\Admin;
 
    use Sonata\AdminBundle\Admin\Admin;