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:----fOktJygxKVrpcMAQOD+NWqMe0r3MULpCO6vTLKUPWkTIbwY1GWLXt2kqMz5/6KVe/uY5+S3zBH03Br0eWa6zUHsJiixvycEIkQk1Jt+tyLa7uG7Fw2qvcincch6iEHzjQNSbI97CZK0v4pu/okNw2ESGBIdW+ONpdW+/492bwAcJOqlhTwDEUexf3hw5HLlWt20kIaGLY6CZ5JS/R8sI0w+PSceo7wVJDUI5qxs8NtHWrWWHTGbj+fh/evGwoeLxu1cyEJXZKjT+Qlh9NmbvJoSdbr7e2GUoVo/SAi7xLz73+c2PrZtNgyUN7/+QBbu+5S4/T6Iu5Bt3S9SBqz4B4Jd8EOfTIklaUYR1Klcc7dqEelB6GM1iY0JCarR1snEIASCG1QBDkCrlS2cqExxrgmUkQeJv2FT+5LuiEoRlLKA1ulOq5SmncXqqFqrEQuCWioBgW+0UsKyYRLYyyKkMx2kYmCr1oJ7KscemjnqjUHTFmTKUw2+v7egTtbPlhOWGgJQKFxk1HXML69qOWGsL/Xsvfsq05ziXjRhQ5HH/Nem2O5MdAlvG2/URkbIKNIzFD8EWx6tLeVNTP7KwtxDiMXb0Uoh2PnDaMHiBXV5Xn5mCjzcD9gWLjBvaZLPo2C1oIXnhJkeDD4T3rksExQNQu95iTrYDTMLep1Jwhc+a25E=----ATTACHMENT:----Njc1Mjc3MzE0NDM0MTA5IDU2NTA3ODgyMjUyMzQxMTggNTkwNjgyNjAyMjUyNzA5NQ==