Fixed rendering
Fixed some broken rendering on http://docs.doctrine-project.org/en/latest/reference/yaml-mapping.html
This commit is contained in:
parent
753d63c2d4
commit
424793c263
@ -19,8 +19,6 @@ In order to work, this requires certain conventions:
|
|||||||
convention and you are not forced to do this. You can change the
|
convention and you are not forced to do this. You can change the
|
||||||
file extension easily enough.
|
file extension easily enough.
|
||||||
|
|
||||||
-
|
|
||||||
|
|
||||||
.. code-block:: php
|
.. code-block:: php
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -47,9 +45,9 @@ Simplified YAML Driver
|
|||||||
The Symfony project sponsored a driver that simplifies usage of the YAML Driver.
|
The Symfony project sponsored a driver that simplifies usage of the YAML Driver.
|
||||||
The changes between the original driver are:
|
The changes between the original driver are:
|
||||||
|
|
||||||
1. File Extension is .orm.yml
|
- File Extension is .orm.yml
|
||||||
2. Filenames are shortened, "MyProject\Entities\User" will become User.orm.yml
|
- Filenames are shortened, "MyProject\\Entities\\User" will become User.orm.yml
|
||||||
3. You can add a global file and add multiple entities in this file.
|
- You can add a global file and add multiple entities in this file.
|
||||||
|
|
||||||
Configuration of this client works a little bit different:
|
Configuration of this client works a little bit different:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user