From cee65afed9799c9209db46461b4bd9fcdfb77edd Mon Sep 17 00:00:00 2001 From: Martijn Zijlstra Date: Tue, 19 Jan 2016 14:19:10 +0100 Subject: [PATCH 1/2] Update introduction.rst the docs are missing important info that the var_dumper component needs to added as a bundle to the appkernel --- components/var_dumper/introduction.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/var_dumper/introduction.rst b/components/var_dumper/introduction.rst index e3f3aa1a596..d7424cf67d2 100644 --- a/components/var_dumper/introduction.rst +++ b/components/var_dumper/introduction.rst @@ -17,6 +17,9 @@ You can install the component in 2 different ways: * :doc:`Install it via Composer ` (``symfony/var-dumper`` on `Packagist`_); * Use the official Git repository (https://github.com/symfony/var-dumper). +.. note:: +Make sure the bundle is added in your ``app/AppKernel.php`` + .. _components-var-dumper-dump: The dump() Function From c9e3d7dbb1cfafb90f3c2914796becf5d744ca0b Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 11 Mar 2016 15:27:56 +0100 Subject: [PATCH 2/2] Add a note about enabling DebugBundle to use VarDumper inside Symfony --- components/var_dumper/introduction.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/var_dumper/introduction.rst b/components/var_dumper/introduction.rst index d7424cf67d2..4eb4ca4167c 100644 --- a/components/var_dumper/introduction.rst +++ b/components/var_dumper/introduction.rst @@ -18,7 +18,9 @@ You can install the component in 2 different ways: * Use the official Git repository (https://github.com/symfony/var-dumper). .. note:: -Make sure the bundle is added in your ``app/AppKernel.php`` + + If using it inside a Symfony application, make sure that the + DebugBundle is enabled in your ``app/AppKernel.php`` file. .. _components-var-dumper-dump: