Ver Fonte

[Uploadable] Doc fixes.

comfortablynumb há 13 anos atrás
pai
commit
7a168fc4f8
2 ficheiros alterados com 3 adições e 3 exclusões
  1. 2 2
      doc/uploadable.md
  2. 1 1
      lib/Gedmo/Uploadable/Mapping/Driver/Annotation.php

+ 2 - 2
doc/uploadable.md

@@ -99,7 +99,7 @@ You can use the Uploadable "path" option to set the path:
 ``` php
 /**
  * @ORM\Entity
- * @Gedmo\SoftDeleteable(path="/my/path")
+ * @Gedmo\Uploadable(path="/my/path")
  */
 class File
 {
@@ -112,7 +112,7 @@ Or you can use the Uploadable "pathMethod" option to set the name of the method
 ``` php
 /**
  * @ORM\Entity
- * @Gedmo\SoftDeleteable(pathMethod="getPath")
+ * @Gedmo\Uploadable(pathMethod="getPath")
  */
 class File
 {

+ 1 - 1
lib/Gedmo/Uploadable/Mapping/Driver/Annotation.php

@@ -10,7 +10,7 @@ use Gedmo\Mapping\Driver\AnnotationDriverInterface,
 /**
  * This is an annotation mapping driver for Uploadable
  * behavioral extension. Used for extraction of extended
- * metadata from Annotations specificaly for SoftDeleteable
+ * metadata from Annotations specificaly for Uploadable
  * extension.
  *
  * @author Gustavo Falco <comfortablynumb84@gmail.com>