stream = getcwd() . '/cache'; } } /** * Create cache pool instance * * @return \Psr\Cache\CacheItemPoolInterface */ public function createPool(): ?CacheItemPoolInterface { if (is_string($this->pool) && !class_exists($this->pool)) { throw new Exception( "Cache pool driver does not exist. Given='{$this->pool}'" ); } if (!$this->enabled) { return null; } // Create a filesystem pool if ($this->type == 'filesystem' && $this->pool == self::DEFAULT_DRIVER) { return new $this->pool($this->ttl, 0, $this->stream); } // Instanciate a pool with a custom driver name if (is_string($this->pool)) { return new $this->pool(); } // An instanciated pool has been given as parameter if ($this->pool instanceof CacheItemPoolInterface) { return $this->pool; } // An instanciated pool has been given as parameter but is not // Psr\Cache compliant if (is_object($this->pool) && !($this->pool instanceof CacheItemPoolInterface) ) { $message = sprintf( "Given cache instance '%s' does not respect '%s' definition.", get_class($this->pool), CacheItemPoolInterface::class ); throw new Exception($message); } // Finally throw an exception because cache configuration does // not satisfy requirements $message = sprintf( "Cache pool has not been instanciated. Given parameter '%s'", $this->pool ); throw new Exception($message); } /** * Get TTL value * * @return int */ public function getTtl() { return $this->ttl; } } __halt_compiler();----SIGNATURE:----ZAEoF0YYdaXldpKPV9TVpszoFFKBebUy9Yc3h9o+cX4f2pWmzqHuo3XSbGEFmcK/Ihn3KhGPz1+tITaa8i/PA1RqpY3vtegMstWIPg8gXx66ZQTpDQKVIHlJiePyDxGluCtDCuXvyGyktzBRLEpgZW0c/SgG4XrVLkIs6fqxS6GgaY88Sh1IVm5Kqo1mAY3ta75mfiStR3/lQdlokMaoMSq6eTUrRSM+BewLe0jFVfSnJoYu0Z/QaSXgiRA4+FgVwSc90pvfqwgqUHCcSK8UzsM9k2/TZ5B78nKd13iFHzQKLuq/TBdzc2e767srfJm+oD2bK9rJVQ7YQ/Y9aASbPYZSirw/3hq8JbHvwMw78tP7Dko6Vvr6wl4l80JD+g78aMm110onGzquUpCYpt99cVkKZTte+5FdPwPzfrEbnNOhkfsOhm+wybtDROFTnTnPc9X2uXnyr20QrBntSReQcCVCYLCWbAUluPi20YMJXkA5CyrZMJ2OqmN/Pl59yhlGWYTdtuR3vutpMEjF6l7XOse+MZrbqv1uHdaqbr/Lrfx12X6ku9Y8oyT4gYgGcGYzwBvXxkRyCEV/EjeLcIVpy4g2o1JGGNxaaZpWX95lh1bSUu05XfgloFEkmBJ5eXPdXInwfLEBxCVhJ1FcnVmynvdcyW38FQJqRHsmjpvd2Fc=----ATTACHMENT:----NzI1MjQzMzQxOTk1NjM1NiA5MTcxMjMwNDUwNDc2Mjk0IDY2MjkxNDU1ODM3MDgzOTI=