Skip to content

Commit

Permalink
Revert "Changed dump() to var_dump()"
Browse files Browse the repository at this point in the history
This reverts commit d03c380.
  • Loading branch information
wouterj committed Jun 27, 2015
1 parent 24716ec commit 58ca209
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion book/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,8 @@ to the given ``Category`` object via their ``category_id`` value.
$category = $product->getCategory();

// prints "Proxies\AppBundleEntityCategoryProxy"
var_dump(get_class($category));
dump(get_class($category));
die();

This proxy object extends the true ``Category`` object, and looks and
acts exactly like it. The difference is that, by using a proxy object,
Expand Down
6 changes: 4 additions & 2 deletions book/translation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ wrapping each with a function capable of translating the text (or "message")
into the language of the user::

// text will *always* print out in English
var_dump('Hello World');
dump('Hello World');
die();

// text can be translated into the end-user's language or
// default to English
var_dump($translator->trans('Hello World'));
dump($translator->trans('Hello World'));
die();

.. note::

Expand Down
3 changes: 2 additions & 1 deletion cookbook/bundles/remove.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ can remove the ``Acme`` directory as well.
:method:`Symfony\\Component\\HttpKernel\\Bundle\\BundleInterface::getPath` method
to get the path of the bundle::

var_dump($this->container->get('kernel')->getBundle('AcmeDemoBundle')->getPath());
dump($this->container->get('kernel')->getBundle('AcmeDemoBundle')->getPath());
die();

3.1 Remove Bundle Assets
~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 58ca209

Please sign in to comment.