diff --git a/docs/en/reference/xml-mapping.rst b/docs/en/reference/xml-mapping.rst index e010c93690b..4ee50b7ceb0 100644 --- a/docs/en/reference/xml-mapping.rst +++ b/docs/en/reference/xml-mapping.rst @@ -46,7 +46,7 @@ In order to work, this requires certain conventions: .. code-block:: php setFileExtension('.xml'); + $driver->getLocator()->setFileExtension('.xml'); It is recommended to put all XML mapping documents in a single folder but you can spread the documents over several folders if you