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:----p4ZU0NHuFr8JExB97hrRtuUhVr0nhdQYhA3scEEeedS8Un4cQmfBWWqaUx3hVR4Skokd0b0Ie822QBkQn/CCmVYeoMlbseEBgxsi/aWR29Nt9x4URoXqgvVWTJMRheG1SSydiSA5+oMmwGlpxZf74TF3A1hXpwim9kRgDJLIUl1v8uBt7gnlIb+DYkaxhTiAJEQxy3FWzajuk7keQhPKah0sqUUodqKtyVaqFI6Qb84/2YVSVOSFcN+R96raSK2ffYnL2s/Yufy7lsIZpxYE+PVkteQqyq0R7DICoZ0sNH7M+UW5tE6xfQokGufLMT0RE+Sx+RYR/IhBp1PnZY4ZE0Adl7itWwZnpGTyFKH44Aq+sR/D+00LNuO4rirp8+DwtFYh5uFD/ebCdOLbMSxIMCmuMR+zwyiaJ9ITR1VoRyEVqs4r2LMPOyh/11lOMmGNQq6iKlaQEQVPku7aM4jIwfPX5YNe3nzU4XvFQE+Ve1Cg2NzBL+bILQAJlLxq0tAQ9gcj8IP1vHOhUtS4HEjeBgP/qLyYq0MI9JYf2OzQMInEk7NPTI2IgIEYftgGooJtfZShFJhkLi7jlq2y9FNpdXkdTKBACeuYH+mulAA9pyoLVRCvBhZ44TcAy8kDXCYHJciHhm8m8uARcMlq/UZF8TB3wdfy3BL8nYBXXuu03FM=----ATTACHMENT:----NDg5ODg3NjcxMzM3MTYzNCAxNDU1MDIwNjI2ODY5OTQyIDg2OTg1MTI0NTI4MTgyMjE=