Skip to content

Commit 66646ce

Browse files
committed
Fixed code examples in cookbook/symfony1
1 parent 594d97a commit 66646ce

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cookbook/symfony1.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ example::
128128
class SensioFrameworkExtraBundle extends Bundle
129129
{
130130
// ...
131+
}
131132

132133
The file itself lives at
133134
``vendor/bundle/Sensio/Bundle/FrameworkExtraBundle/SensioFrameworkExtraBundle.php``.
@@ -144,7 +145,7 @@ namespace in the ``vendor/bundle`` directory:
144145
145146
// ...
146147
$loader->registerNamespaces(array(
147-
// ...
148+
...,
148149
'Sensio' => __DIR__.'/../vendor/bundles',
149150
));
150151
@@ -236,7 +237,7 @@ class::
236237
// config/ProjectConfiguration.class.php
237238
public function setup()
238239
{
239-
$this->enableAllPluginsExcept(array(/* some plugins here */));
240+
$this->enableAllPluginsExcept(array(... some plugins here));
240241
}
241242

242243
In Symfony2, the bundles are activated inside the application kernel::
@@ -247,7 +248,7 @@ In Symfony2, the bundles are activated inside the application kernel::
247248
$bundles = array(
248249
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
249250
new Symfony\Bundle\TwigBundle\TwigBundle(),
250-
// ...
251+
...,
251252
new Acme\DemoBundle\AcmeDemoBundle(),
252253
);
253254

0 commit comments

Comments
 (0)