1
0
mirror of synced 2025-03-05 04:13:20 +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 +++ Obtaining an EntityManager
Once you have prepared the class loading, you acquire an EntityManager instance Once you have prepared the class loading, you acquire an *EntityManager* instance.
with the following minimalist configuration: 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] [php]
use Doctrine\ORM\EntityManager, 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 > a very fast in-memory cache storage that you can use for the metadata and query
> caches as seen in the previous code snippet. > caches as seen in the previous code snippet.
An EntityManager is your central access point to ORM functionality provided by Doctrine.
++ Configuration Options ++ Configuration Options
The following sections describe all the configuration options available on a `Doctrine\ORM\Configuration` instance. The following sections describe all the configuration options available on a `Doctrine\ORM\Configuration` instance.