From 0a066533de06017a5581a4389bac9ce5c0570299 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Thu, 22 Jul 2010 23:38:09 +0200 Subject: [PATCH] Rephrased Obtaining Entity Manager and moved some sentences around --- manual/en/configuration.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/manual/en/configuration.txt b/manual/en/configuration.txt index e5b2fdf34..4431f2124 100644 --- a/manual/en/configuration.txt +++ b/manual/en/configuration.txt @@ -76,8 +76,11 @@ For best class loading performance it is recommended that you keep your include_ +++ Obtaining an EntityManager -Once you have prepared the class loading, you acquire an EntityManager instance -with the following minimalist configuration: +Once you have prepared the class loading, you acquire an *EntityManager* instance. +The EntityManager class is the primary access point to ORM functionality provided by Doctrine. + +A simple configuration of the EntityManager requires a `Doctrine\ORM\Configuration` +instance as well as some database connection parameters: [php] use Doctrine\ORM\EntityManager, @@ -123,8 +126,6 @@ with the following minimalist configuration: > a very fast in-memory cache storage that you can use for the metadata and query > caches as seen in the previous code snippet. -An EntityManager is your central access point to ORM functionality provided by Doctrine. - ++ Configuration Options The following sections describe all the configuration options available on a `Doctrine\ORM\Configuration` instance.