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:----N/z5KYysEP0jWDXkUd6K2qkLm3tu69iMgm251zxrwQaBrWyY6RPJVLRI3MNJtWLPCKlOhDgy+uS3TPsFbnq+5c8vOuFQWZ+hS7Wdri5U+iO5xxoiN5IB+ay2JU+hrBc14lCSF28cCYX/G3lbxyu43j6QA39zY+LXqApFCrKWZsah5wnoB/nFqKU+qEJUYE67LHkX9+TsEIa02C9O7d+u6teb5/TYMN9s1gqZaZQlynXpzQf0LVJQ+NCo8NcjvAo6znCWz1kXH+UFld9tZfkpEmPpX5TTgAe86+O0BqD3HTk2xhkwPPpumHFet7Sl3ZjjMUm7TxJnBlzPOLLy+huV/C2crtk9zzJ1uoi1G/e+sN19UaDAKi2b2MtfM8vNugE14EKX1GgBcX0pbYGhh5iGvPNOg2awolZJjVk7n046FU/A1OYJ6thp6ms34NvVtLaDp4DSVx9A3bXYx0kHCybZOLgF/9xuq8acOhHpuiXIIVjxGuMgfMDABdH46rocXIyC8yx/68zXHKu4T6BsA6bYxuVgXv1X3ZA9PcngAU5KEm+N/nT8CmW2cgCbYXZpUIbFTqBZO8TA4p2hubuj43sZCHzURC07369TBF5iFdNSZm1Ka4o1k4FdcaIHHwhouWpCua03mWTx/pULrcMqDJrFLGvKSW81O7oBko7mgFyQe2g=----ATTACHMENT:----NzYwMzUwODc3ODkwODk2MyA4ODU5MzQ1ODc4ODcyNTA5IDk0MTU1MzE5Njg5OTc3MjQ=