Skip to content

Commit fdc25cd

Browse files
authored
Fix documenation for php-definitions
1 parent f50ab28 commit fdc25cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/php-definitions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ Be also aware that it isn't possible to add definitions to a container on the fl
501501

502502
```php
503503
$builder = new ContainerBuilder();
504-
$builder->setDefinitionCache(new ApcCache());
504+
$builder->enableCompilation(__DIR__ . '/var/cache');
505505
$container = $builder->build();
506506

507507
// Works: you can set values

0 commit comments

Comments
 (0)