-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed
Labels
DXDX = Developer eXperience (anything that improves the experience of using Symfony)DX = Developer eXperience (anything that improves the experience of using Symfony)HttpKernel
Description
There is no way to disable AddClassesToCachePass compiler pass.
It generates classes.map
file, and then ClassCacheCacheWarmer
always generated classes.php
file.
So, if I do app/console cache:warmup
for my dev environment I got a classes.php
file always, wihtout exceptions. But I want to disable that, as it described in http://symfony.com/doc/current/cookbook/debugging.html (my IDE is not very happy with classes.php
file)
The only one way to do that is to override buildContainer
method in AppKernel.php
file and remove line
$container->addCompilerPass(new AddClassesToCachePass($this));
There should be more convient way to do that.
Metadata
Metadata
Assignees
Labels
DXDX = Developer eXperience (anything that improves the experience of using Symfony)DX = Developer eXperience (anything that improves the experience of using Symfony)HttpKernel