Skip to content

Commit

Permalink
[#5584] language tweak and XML config fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Oct 3, 2015
1 parent 2c9e8d1 commit 9231f92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/var_dumper/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Choosing between both is mostly a matter of personal taste, still:
be suited to your use case (e.g. you shouldn't use it in an HTML
attribute or a ``<script>`` tag).

This behaviour can be changed by configuring the ``dump.dump_destination``
This behavior can be changed by configuring the ``dump.dump_destination``
option. Read more about this and other options in
:doc:`the DebugBundle configuration reference </reference/configuration/debug>`.

Expand Down
8 changes: 5 additions & 3 deletions reference/configuration/debug.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Configuration
-------------

* `max_items`_
* `max_string_length`_
* `max_string_length`_
* `dump_destination`_

max_items
Expand Down Expand Up @@ -64,9 +64,11 @@ destination for dumps. Typically, you would set this to ``php://stderr``:
<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns="http://symfony.com/schema/dic/debug"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/debug http://symfony.com/schema/dic/debug/debug-1.0.xsd">
xmlns:debug="http://symfony.com/schema/dic/debug"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/debug http://symfony.com/schema/dic/debug/debug-1.0.xsd">
<config dump-destination="php://stderr" />
<debug:config dump-destination="php://stderr" />
</container>
.. code-block:: php
Expand Down

0 comments on commit 9231f92

Please sign in to comment.