@@ -21,7 +21,7 @@ as integration of other related components:
21
21
22
22
framework :
23
23
# ...
24
- form : true
24
+ form : true
25
25
26
26
.. code-block :: xml
27
27
@@ -33,7 +33,7 @@ as integration of other related components:
33
33
34
34
$container->loadFromExtension('framework', array(
35
35
// ...
36
- 'form' => true,
36
+ 'form' => true,
37
37
// ...
38
38
));
39
39
@@ -494,9 +494,10 @@ be output to the console in yaml.
494
494
495
495
As long as your bundle's configuration is located in the standard location
496
496
(``YourBundle\DependencyInjection\Configuration ``) and does not have a
497
- ``__constructor() `` it will work automatically. If you have a something
498
- different your ``Extension `` class will have to override the
499
- ``Extension::getConfiguration() `` method. Have it return an instance of your
497
+ ``__construct() `` it will work automatically. If you have something
498
+ different, your ``Extension `` class must override the
499
+ :method: `Extension::getConfiguration() <Symfony\\ Component\\ HttpKernel\\ DependencyInjection\\ Extension::getConfiguration> `
500
+ method and return an instance of your
500
501
``Configuration ``.
501
502
502
503
Comments and examples can be added to your configuration nodes using the
@@ -548,9 +549,9 @@ When creating an extension, follow these simple conventions:
548
549
* The extension should provide an XSD schema.
549
550
550
551
If you follow these simple conventions, your extensions will be registered
551
- automatically by Symfony2. If not, override the Bundle
552
- :method: `Symfony\\ Component\\ HttpKernel\\ Bundle\\ Bundle::build ` method in
553
- your bundle::
552
+ automatically by Symfony2. If not, override the
553
+ :method: `Bundle::build() < Symfony\\ Component\\ HttpKernel\\ Bundle\\ Bundle::build> `
554
+ method in your bundle::
554
555
555
556
// ...
556
557
use Acme\HelloBundle\DependencyInjection\UnconventionalExtensionClass;
0 commit comments