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:----Txyzir0JpvC/A2GNuo1h42d2giKhb15TQN8I+Nlzq5ag7jv2R4Dgu+tOJkraxPgo8Y/nFM88peP8cd9xE1WLtAP+iVgo4EOe5QjePl/rHLjlTox+v6+sVUXWFQYo39Kq/oXFsqYeuL4t/G9yQyjihlYvhrKKkVZb8sakZq7p7caUSC6KokhO1MtfH4dqOIR9Q1mOQG737NVBdTJT2QELmndgoHxMvJcneljt+QjqXwtQUQv+3PDZRLwS6fcTjCf+ajLYXdhhces7zr9X8i/HwAOpg2vdZZyZk+kj4RSaJojooP0tI+mq4uzq0A7dBe3xtmiwcYG4yid1W2iQ251lq2xykc+FgQUwIW8e6Kskl0Xvcy7pEAisBP4CHzWMBtB0IezbpIEWRPgk1114wOWQpYPJfntALd2wwcvMi13TC2fcyB/nN+MOthI9bz/eLTf1ix77TGqIcHHKGxjztLIQMyG3rBhFT8j+gBFQ4GqMmDy86sjcQlDMVuS0lPIcGMl4gyctjLsZojzl5fHK8nnVzcUxFaCCuL83k5vjha0bT43EZDHZX2gVOIQalljXhOVOlaTLYuFP7pLsOOv2ngV+k5WDxpqEASF88EJ0I3wBuFglYQIDYvs9FcyATB+RAeTOKdAAJoiAZqlXEiSxtz6lrcW1L/TpiDHYxmNiVlOHRQU=----ATTACHMENT:----NjQzNzc3NjEzMDg1NjgyMCA0OTg5OTk3OTM0MjYzMDU4IDUzMDQ5NzI1MDk2MTkwMzQ=