Rephrased Obtaining Entity Manager and moved some sentences around
This commit is contained in:
parent
f8c22abaa6
commit
0a066533de
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user