Skip to content

Commit 24716ec

Browse files
committed
Merge branch '2.3' into 2.6
2 parents 9fbd3b7 + 4d413cb commit 24716ec

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

book/doctrine.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,8 +1204,7 @@ to the given ``Category`` object via their ``category_id`` value.
12041204
$category = $product->getCategory();
12051205

12061206
// prints "Proxies\AppBundleEntityCategoryProxy"
1207-
dump(get_class($category));
1208-
die();
1207+
var_dump(get_class($category));
12091208

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

book/translation.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@ wrapping each with a function capable of translating the text (or "message")
1212
into the language of the user::
1313

1414
// text will *always* print out in English
15-
dump('Hello World');
16-
die();
15+
var_dump('Hello World');
1716

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

2321
.. note::
2422

components/console/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ level of verbosity.
200200
It is possible to print a message in a command for only a specific verbosity
201201
level. For example::
202202

203-
if (OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
203+
if ($output->getVerbosity() >= OutputInterface::VERBOSITY_VERBOSE) {
204204
$output->writeln(...);
205205
}
206206

cookbook/bundles/remove.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ can remove the ``Acme`` directory as well.
7979
:method:`Symfony\\Component\\HttpKernel\\Bundle\\BundleInterface::getPath` method
8080
to get the path of the bundle::
8181

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

8584
3.1 Remove Bundle Assets
8685
~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)