1
0
mirror of synced 2024-12-14 23:26:04 +03:00

Rephrased Obtaining Entity Manager and moved some sentences around

This commit is contained in:
Benjamin Eberlei 2010-07-22 23:38:09 +02:00
parent f8c22abaa6
commit 0a066533de

View File

@ -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.