Permalink
Browse files

[DCOM-34] Fixed documentation.

  • Loading branch information...
1 parent f6e3d6e commit 4787380a0a8670ca4d75dbb0b64577b718bfd3c1 @guilhermeblanco guilhermeblanco committed Feb 16, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 reference/en/annotations.txt
View
4 reference/en/annotations.txt
@@ -30,7 +30,7 @@ If you want Doctrine to try and autoload annotation classes with `class_exists()
need to configure the `AnnotationReader` instance to do so:
[php]
- $reader->setAutoloadAnnotationClasses(true);
+ $reader->setAutoloadAnnotations(true);
If this is set to false then all annotation classes must be previously manually loaded.
@@ -154,4 +154,4 @@ or method docblock:
> doc-block are processed at once. That means that annotation classes that do not exist and
> aren't loaded and cannot be autoloaded (using setAutoloadAnnotationClasses()) would never
> be visible and not accessible if a cache is used unless the cache is cleared and the
-> annotations requested again, this time with all annotations defined.
+> annotations requested again, this time with all annotations defined.

0 comments on commit 4787380

Please sign in to comment.