File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -27,39 +27,38 @@ This command requires you to have Composer installed globally, as explained
27
27
in the [ installation chapter] ( https://getcomposer.org/doc/00-intro.md )
28
28
of the Composer documentation.
29
29
30
- Step 2: Enable the Bundle (Symfony 2 & 3)
31
- -----------------------------------------
30
+ Step 2 (with Flex) : Enable the Bundle
31
+ -------------------------------------
32
32
33
- Then, enable the bundle by adding it to the list of registered bundles
34
- in the ` app/AppKernel.php ` file of your project:
33
+ You do not need to do anything more. The bundle is enabled automatically and
34
+ you have some nice default config in ` config/packages/bm_backup_manager.yml ` .
35
+
36
+ Step 2 (no Flex): Enable the Bundle
37
+ -----------------------------------
38
+
39
+ If you are not using Symfony Flex, you need to enable the bundle by adding it to
40
+ the list of registered bundles in the ` app/AppKernel.php ` file of your project.
35
41
36
42
``` php
37
- <?php
38
43
// app/AppKernel.php
39
44
40
- // ...
41
45
class AppKernel extends Kernel
42
46
{
43
47
public function registerBundles()
44
48
{
45
49
$bundles = array(
46
50
// ...
47
-
48
51
new BM\BackupManagerBundle\BMBackupManagerBundle(),
49
52
);
50
-
51
- // ...
52
53
}
53
-
54
- // ...
55
54
}
56
55
```
57
56
58
57
Step 3: Configure your databases and filesystems
59
58
------------------------------------------------
60
59
61
60
``` yaml
62
- # app/ config.yml
61
+ # config/packages/bm_backup_manager .yml
63
62
64
63
bm_backup_manager :
65
64
database :
You can’t perform that action at this time.
0 commit comments