Skip to content

Commit

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

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

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: 2 additions & 4 deletions book/translation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ 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
dump('Hello World');
die();
var_dump('Hello World');

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

.. note::

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

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

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

0 comments on commit d03c380

Please sign in to comment.