Thomas Tourlourat 12 роки тому
батько
коміт
7252757149
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      Resources/doc/reference/annotations.rst

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

@@ -61,6 +61,7 @@ set the value via reflection, but you may change this to use a public method ins
 .. code-block :: php
 
     <?php
+    use JMS\SerializerBundle\Annotation\AccessType;
 
     /** @AccessType("public_method") */
     class User
@@ -86,6 +87,7 @@ be called to retrieve, or set the value of the given property:
 .. code-block :: php
 
     <?php
+    use JMS\SerializerBundle\Annotation\Accessor;
 
     class User
     {
@@ -115,6 +117,7 @@ default the order is undefined, but you may change it to either "alphabetical",
 .. code-block :: php
 
     <?php
+    use JMS\SerializerBundle\Annotation\AccessorOrder;
 
     /**
      * @AccessorOrder("alphabetical")