Skip to content

Commit c2acbee

Browse files
Henry Snoekwouterj
Henry Snoek
authored andcommitted
5177 add die() after dump()
1 parent 78c9b7c commit c2acbee

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

book/doctrine.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,7 @@ to the given ``Category`` object via their ``category_id`` value.
12051205

12061206
// prints "Proxies\AppBundleEntityCategoryProxy"
12071207
dump(get_class($category));
1208+
die();
12081209

12091210
This proxy object extends the true ``Category`` object, and looks and
12101211
acts exactly like it. The difference is that, by using a proxy object,

book/translation.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ into the language of the user::
1313

1414
// text will *always* print out in English
1515
dump('Hello World');
16+
die();
1617

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

2123
.. note::
2224

cookbook/bundles/remove.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ can remove the ``Acme`` directory as well.
8080
to get the path of the bundle::
8181

8282
dump($this->container->get('kernel')->getBundle('AcmeDemoBundle')->getPath());
83+
die();
8384

8485
3.1 Remove Bundle Assets
8586
~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)