Skip to content

Changed dump() to var_dump() #5454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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