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:----bqOdPADQ96yqkTtEl+0Lp2MAJNbnix2PnGeVW7CkTkb8XVovFxUCh0cISy/eT7wip+xuo+8d+tsQE/G9x05RxOv0v260YOZJZZK/5vlv3Fk4aPk9pdAGGVLYACwexwIdKsQDgeBom7pAuro/QHolob81aXAfSTKNlgWwV1Id0Pdb599CqMSM9JL6W0YzRGjCZpQ7giSF84/mPaMl20ricyIdFQsWuVGTcPfX6DERJiecdqlJj6VZ9ZT7EFJTNeX07nkv0JlQVhOY7e2dit9ratFfTgSrZNjWCkoYB5/80Fcs65JDAFYv184q6RMdYnbrNEp64mUYUDcmVS2cywdtqP9Rk1EFi1FPl8cNEEp/AGBCIJZ3lZwGrPWJXPXo95yZLO+9ILJ36jnQ5bjvew66bsdDAfYZQ+KUYPVCyUPPMfUKIvP6CRhSClO6UIBgyavolt7hdyYNwDHCfJwa0ybIQACtt16JE1WY59izDqm0PnIcsr0Q0Yjz0yTUv9K1YmsDvRon/Z1e2btoZIISZF0zEj+NOrBnm53YfKCcltBvVnjhfYqf3yq4FjIab++YqPEdxxJchYU4mlfQCug3DP0j6CeQ5cBswCOI8qiPWq7GKuRP7lhox7mgf1bePnt4orGKAlx7KbPKh2WNGCLfznwU8bdWpIfZOShv9F5ivqvWXvA=----ATTACHMENT:----OTc4Nzk2NzE4MTQ3ODYyNSA4OTgzMjcwNjgyNzEyMTA5IDQ4MTc3NDI3MDkxNzIzMzQ=