Skip to content
This repository has been archived by the owner on Sep 25, 2022. It is now read-only.

Commit

Permalink
Better readme table
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Oct 6, 2015
1 parent 0f20f20 commit 2d3be88
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,32 @@ For each context, you have the following steps available:

Loading a file can be done in three ways:

| Type of path | fixtures file path | computed fixtures file path |
|--------------|--------------------|-----------------------------|
| Relative path | `"dummy.yml"` | `contextBasePath/dummy.yml`, ex: `%paths.base%/tests/Features/fixtures/ORM/dummy.yml` |
| @Bundle path | `"@AppBundle/DataFixtures/ORM/dummy.yml"` | `src/AppBundle/DataFixtures/ORM/dummy.yml` (example)
| Absolute path | `/dummy.yml` | unchanged |
<table>
<thead style="float: left">
<tr>
<th style="display: block">Type of path</th>
<th style="display: block">Fixtures file path</th>
<th style="display: block">Computed fixtures file path</th>
</tr>
</thead>
<tbody style="float: right">
<tr>
<td>Relative path</td>
<td>`"dummy.yml"`</td>
<td>`contextBasePath/dummy.yml`, ex: `%paths.base%/tests/Features/fixtures/ORM/dummy.yml`</td>
</tr>
<tr>
<td>@Bundle path</td>
<td>`"@AppBundle/DataFixtures/ORM/dummy.yml"`</td>
<td>`src/AppBundle/DataFixtures/ORM/dummy.yml` (example)</td>
</tr>
<tr>
<td>Absolute path</td>
<td>`/dummy.yml`</td>
<td>unchanged</td>
</tr>
</tobdy>
</table>


## Credits
Expand Down

0 comments on commit 2d3be88

Please sign in to comment.