Skip to content

Commit dc714ea

Browse files
committed
Added description of the problem
1 parent 710e6fd commit dc714ea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

en/development/configuration.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,9 @@ In your ``app/Config/bootstrap.php`` you could attach this reader and use it::
671671
Configure::config('xml', new MyXmlReader());
672672
...
673673

674+
It is not a good idea to call your custom configure class ``XmlReader`` because that classname is an internal PHP one already:
675+
http://php.net/manual/de/book.xmlreader.php
676+
674677
Configure::load('my_xml');
675678

676679
The ``read()`` method of a config reader, must return an array of the configuration information

0 commit comments

Comments
 (0)