Skip to content

Commit 60078b1

Browse files
committed
add the defaults to the option key
1 parent 43e86ff commit 60078b1

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

README.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,9 @@ Configuration
193193
Array of Entity Manager options.
194194

195195
These options are available:
196-
* **connection**:
196+
* **connection** (Default: default):
197197
String defining which database connection to use. Used when using
198198
named databases via **dbs**.
199-
*Default: default*
200199
* **mappings**:
201200
Array of mapping definitions.
202201

@@ -213,23 +212,20 @@ Configuration
213212
files are located. Example: `Path\To\Foo\Resources\mappings`
214213

215214
Each **annotation** mapping may also specify the following options:
216-
* **use_simple_annotation_reader**:
215+
* **use_simple_annotation_reader** (Default: true):
217216
If `true`, only simple notations like `@Entity` will work.
218217
If `false`, more advanced notations and aliasing via `use` will
219218
work. (Example: `use Doctrine\ORM\Mapping AS ORM`, `@ORM\Entity`)
220219
Note that if set to `false`, the `AnnotationRegistry` will probably
221220
need to be configured correctly so that it can load your Annotations
222221
classes. See this FAQ:
223222
[Why aren't my Annotations classes being found?](#why-arent-my-annotations-classes-being-found)
224-
* **query_cache**:
223+
* **query_cache** (Default: setting specified by orm.default_cache):
225224
String or array describing query cache implementation.
226-
*Default: setting specified by orm.default_cache*
227-
* **metadata_cache**:
225+
* **metadata_cache** (Default: setting specified by orm.default_cache):
228226
String or array describing metadata cache implementation.
229-
*Default: setting specified by orm.default_cache*
230-
* **result_cache**:
227+
* **result_cache** (Default: setting specified by orm.default_cache):
231228
String or array describing result cache implementation.
232-
*Default: setting specified by orm.default_cache*
233229
* **orm.ems.options**:
234230
Array of Entity Manager configuration sets indexed by each Entity Manager's
235231
name. Each value should look like **orm.em.options**.
@@ -258,14 +254,12 @@ Configuration
258254
$emMysql = $app['orm.ems']['mysql'];
259255
$emSqlite = $app['orm.ems']['sqlite'];
260256
```
261-
* **orm.ems.default**:
257+
* **orm.ems.default** (Default: first Entity Manager processed):
262258
String defining the name of the default Entity Manager.
263-
*Default: first Entity Manager processed*
264259
* **orm.proxies_dir**:
265260
String defining path to where Doctrine generated proxies should be located.
266-
* **orm.proxies_namespace**:
261+
* **orm.proxies_namespace** (Default: DoctrineProxy):
267262
String defining namespace in which Doctrine generated proxies should reside.
268-
*Default: DoctrineProxy*
269263
* **orm.auto_generate_proxies**:
270264
Boolean defining whether or not proxies should be generated automatically.
271265
* **orm.default_cache**:

0 commit comments

Comments
 (0)