Minor typo naming strategy documentation
This commit is contained in:
parent
318e9a5596
commit
692a1afa86
@ -20,7 +20,7 @@ You can specify a different strategy by calling ``Doctrine\ORM\Configuration#set
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
$namingStrategy = new MyNamingStrategy();
|
$namingStrategy = new MyNamingStrategy();
|
||||||
$configuration()->setNamingStrategy($namingStrategy);
|
$configuration->setNamingStrategy($namingStrategy);
|
||||||
|
|
||||||
Underscore naming strategy
|
Underscore naming strategy
|
||||||
---------------------------
|
---------------------------
|
||||||
@ -31,7 +31,7 @@ Underscore naming strategy
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
$namingStrategy = new \Doctrine\ORM\Mapping\UnderscoreNamingStrategy(CASE_UPPER);
|
$namingStrategy = new \Doctrine\ORM\Mapping\UnderscoreNamingStrategy(CASE_UPPER);
|
||||||
$configuration()->setNamingStrategy($namingStrategy);
|
$configuration->setNamingStrategy($namingStrategy);
|
||||||
|
|
||||||
For SomeEntityName the strategy will generate the table SOME_ENTITY_NAME with the
|
For SomeEntityName the strategy will generate the table SOME_ENTITY_NAME with the
|
||||||
``CASE_UPPER`` option, or some_entity_name with the ``CASE_LOWER`` option.
|
``CASE_UPPER`` option, or some_entity_name with the ``CASE_LOWER`` option.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user