diff --git a/en/reference/introduction.rst b/en/reference/introduction.rst index 73343a7e8..fd19d0407 100644 --- a/en/reference/introduction.rst +++ b/en/reference/introduction.rst @@ -394,6 +394,6 @@ Can you **find** the easier way?). Instead of reading through the reference manual we also recommend to look at the tutorials: -:doc:`Getting Started XML Edition <../tutorials/getting-started-xml-edition>` +:doc:`Getting Started Tutorial <../tutorials/getting-started-xml-edition>` diff --git a/en/reference/tools.rst b/en/reference/tools.rst index 5a8e8719d..5448e4a4c 100644 --- a/en/reference/tools.rst +++ b/en/reference/tools.rst @@ -347,7 +347,8 @@ First you need to retrieve the metadata instances with the ) ); - $cmf = new DisconnectedClassMetadataFactory($em); + $cmf = new DisconnectedClassMetadataFactory(); + $cmf->setEntityManager($em); $metadata = $cmf->getAllMetadata(); Now you can get an exporter instance and export the loaded metadata