diff --git a/docs/en/reference/namingstrategy.rst b/docs/en/reference/namingstrategy.rst index 9f8e4a599..fff5e601a 100644 --- a/docs/en/reference/namingstrategy.rst +++ b/docs/en/reference/namingstrategy.rst @@ -20,7 +20,7 @@ You can specify a different strategy by calling ``Doctrine\ORM\Configuration#set setNamingStrategy($namingStrategy); + $configuration->setNamingStrategy($namingStrategy); Underscore naming strategy --------------------------- @@ -31,7 +31,7 @@ Underscore naming strategy 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.