Skip to content

Fix documention for php definitions #885

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Fix documention for php definitions #885

merged 1 commit into from
Jun 11, 2024

Conversation

N-M
Copy link
Contributor

@N-M N-M commented Jun 11, 2024

On this page there is a mention of

$builder = new ContainerBuilder();
$builder->setDefinitionCache(new ApcCache());

setDefinitionCache function does not exist in ContainerBuilder. I replaced it with enableCompilation

@mnapoli
Copy link
Member

mnapoli commented Jun 11, 2024

Thanks!

@mnapoli mnapoli merged commit a7410e4 into PHP-DI:master Jun 11, 2024
@N-M N-M deleted the patch-1 branch June 11, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants