Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change README.

  • Loading branch information...
commit 6150a68569f3f38021f1bcb11e750b2b1c35cd8e 1 parent 1f6d116
@golovanov authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 README.md
View
5 README.md
@@ -31,6 +31,11 @@ Be sure to add them anywhere above the Doctrine namespace (shown here):
// ...
));
+Register file with OXM annotations:
+
+ // app/autoload.php
+ AnnotationRegistry::registerFile(__DIR__.'/../vendor/doctrine-oxm/lib/Doctrine/OXM/Mapping/Driver/DoctrineAnnotations.php');
+
Finally, enable the new bundle in the kernel:
// app/AppKernel.php
Please sign in to comment.
Something went wrong with that request. Please try again.