SizeRestrictedPackageCache::setCacheSize
Set the maximum number of items that will be stored in the package cache.
If null, items will never be deleted. If set, cache entries will be touched whenever they are accessed, and the least-recently-access items will be deleted.
Signature
public function setCacheSize(int
$cacheSize )
Parameters
$cacheSize
— int- the number of package files to keep.