Skip to content
Browse files

update readme

  • Loading branch information...
1 parent bd5b641 commit 2c2481c38faf08d8fff6fc002d882048c5f17dcf @kelu95 committed Jun 15, 2011
Showing with 16 additions and 2 deletions.
  1. +16 −2 README.markdown
View
18 README.markdown
@@ -49,7 +49,8 @@ need to add the `Kelu95` namespace to your autoloader:
### Initialize the bundle
To start using the bundle, initialize the bundle in your Kernel:
-
+
+ // app/AppKernel.php
public function registerBundles()
{
$bundles = array(
@@ -58,8 +59,21 @@ To start using the bundle, initialize the bundle in your Kernel:
);
)
-### Add this parameters to your parameters (usually app\config\config.yml)
+### Declare the service
+
+To start using the bundle, initialize the bundle in your Kernel:
+
+ //app/config.yml
+ services:
+ // ...
+ apc_cache:
+ class: Kelu95\ApcBundle\Controller\Cache
+ arguments: [@doctrine,%apc_enabled%,%apc_ttl%]
+
+
+### Add this parameters to your parameters
+ //app\config\config.yml
parameters:
// ...
apc_enabled=true

0 comments on commit 2c2481c

Please sign in to comment.
Something went wrong with that request. Please try again.