File tree 3 files changed +4
-8
lines changed
3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -1204,8 +1204,7 @@ to the given ``Category`` object via their ``category_id`` value.
1204
1204
$category = $product->getCategory();
1205
1205
1206
1206
// prints "Proxies\AppBundleEntityCategoryProxy"
1207
- dump(get_class($category));
1208
- die();
1207
+ var_dump(get_class($category));
1209
1208
1210
1209
This proxy object extends the true ``Category `` object, and looks and
1211
1210
acts exactly like it. The difference is that, by using a proxy object,
Original file line number Diff line number Diff line change @@ -12,13 +12,11 @@ wrapping each with a function capable of translating the text (or "message")
12
12
into the language of the user::
13
13
14
14
// text will *always* print out in English
15
- dump('Hello World');
16
- die();
15
+ var_dump('Hello World');
17
16
18
17
// text can be translated into the end-user's language or
19
18
// default to English
20
- dump($translator->trans('Hello World'));
21
- die();
19
+ var_dump($translator->trans('Hello World'));
22
20
23
21
.. note ::
24
22
Original file line number Diff line number Diff line change @@ -79,8 +79,7 @@ can remove the ``Acme`` directory as well.
79
79
:method: `Symfony\\ Component\\ HttpKernel\\ Bundle\\ BundleInterface::getPath ` method
80
80
to get the path of the bundle::
81
81
82
- dump($this->container->get('kernel')->getBundle('AcmeDemoBundle')->getPath());
83
- die();
82
+ var_dump($this->container->get('kernel')->getBundle('AcmeDemoBundle')->getPath());
84
83
85
84
3.1 Remove Bundle Assets
86
85
~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments