Browse Source

File location added for admin class in documentation

Peter Kokot 11 năm trước cách đây
mục cha
commit
615ffe815b
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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;