Kernel::loadClassCache()

loadClassCache(string $name = 'classes', string $extension = '.php')

Loads the PHP class cache.

This methods only registers the fact that you want to load the cache classes. The cache will actually only be loaded when the Kernel is booted.

That optimization is mainly useful when using the HttpCache class in which case the class cache is not loaded if the Response is in the cache.

Parameters

string $name The cache name prefix
string $extension File extension of the resulting file
doc_Symfony
2016-10-28 06:22:06
Comments
Leave a Comment

Please login to continue.