1
0
mirror of synced 2025-02-02 21:41:45 +03:00

Minor typo naming strategy documentation

This commit is contained in:
Adrien Crivelli 2017-04-22 00:05:57 +09:00 committed by GitHub
parent 318e9a5596
commit 692a1afa86

View File

@ -20,7 +20,7 @@ You can specify a different strategy by calling ``Doctrine\ORM\Configuration#set
<?php
$namingStrategy = new MyNamingStrategy();
$configuration()->setNamingStrategy($namingStrategy);
$configuration->setNamingStrategy($namingStrategy);
Underscore naming strategy
---------------------------
@ -31,7 +31,7 @@ Underscore naming strategy
<?php
$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
``CASE_UPPER`` option, or some_entity_name with the ``CASE_LOWER`` option.