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
|
+++ 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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user