Permalink
Browse files

update readme

  • Loading branch information...
1 parent bd5b641 commit bc0834c9e0abfa9a584a79a37080169cea8d76cb @kelu95 committed Jun 15, 2011
Showing with 14 additions and 2 deletions.
  1. +14 −2 README.markdown
View
16 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,19 @@ 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
+
+ //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 bc0834c

Please sign in to comment.