public function __construct(AbstractCacheProviderDecorator $cacheProviderDecorator, Stopwatch $stopwatch) { parent::__construct($cacheProviderDecorator->getCacheProvider(), $cacheProviderDecorator->getDefaultLifetime()); $this->cacheProviderDecorator = $cacheProviderDecorator; $this->cacheCollectedDataBuilder = new CacheCollectedDataBuilder(); self::$stopwatch = $stopwatch; }
public function __construct() { parent::__construct(new ArrayCache()); self::$lifeTime = null; }