Skip to content

Commit a2516b6

Browse files
rela589ngreg0ire
andauthored
[DOC]: fix setFileExtension() xml mapping documentation (#11905)
* doc: fix setFileExtension() xml mapping documentation * Update docs/en/reference/xml-mapping.rst Co-authored-by: Grégoire Paris <[email protected]> --------- Co-authored-by: Grégoire Paris <[email protected]>
1 parent 3d4e9b3 commit a2516b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/reference/xml-mapping.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ In order to work, this requires certain conventions:
4646
.. code-block:: php
4747
4848
<?php
49-
$driver->setFileExtension('.xml');
49+
$driver->getLocator()->setFileExtension('.xml');
5050
5151
It is recommended to put all XML mapping documents in a single
5252
folder but you can spread the documents over several folders if you

0 commit comments

Comments
 (0)