Skip to content

Commit 89450ae

Browse files
committed
Added the alias option to the readme
1 parent c4a77d9 commit 89450ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ Configuration
213213
files are located. Example: `Path\To\Foo\Resources\mappings`
214214

215215
Each **annotation** mapping may also specify the following options:
216-
* **use_simple_annotation_reader** (Default: true):
216+
* **alias** (Default: null): Set the alias for the entity namespace.
217+
**use_simple_annotation_reader** (Default: true):
217218
If `true`, only simple notations like `@Entity` will work.
218219
If `false`, more advanced notations and aliasing via `use` will
219220
work. (Example: `use Doctrine\ORM\Mapping AS ORM`, `@ORM\Entity`)

0 commit comments

Comments
 (0)