There was an error while loading. Please reload this page.
2 parents f50ab28 + fdc25cd commit a7410e4Copy full SHA for a7410e4
doc/php-definitions.md
@@ -501,7 +501,7 @@ Be also aware that it isn't possible to add definitions to a container on the fl
501
502
```php
503
$builder = new ContainerBuilder();
504
-$builder->setDefinitionCache(new ApcCache());
+$builder->enableCompilation(__DIR__ . '/var/cache');
505
$container = $builder->build();
506
507
// Works: you can set values
0 commit comments