Skip to content

Commit a7410e4

Browse files
authored
Merge pull request PHP-DI#885 from N-M/patch-1
Fix documention for php definitions
2 parents f50ab28 + fdc25cd commit a7410e4

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)