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:----Tk3HaXe9Sj3PW6vEz9dTK9CVy5gzg1PtKQSx+QMh1ZYWytgCP0G9ZKtQwnC7T8R5HIXGDSmVxGgJscSSAHWyza8wUwd7aR7qjbvNSK719RUV7ngMbRNMqjzpKMeWuAY7X+e68wk0PQG8uELYhmOXjeUputlwndmrrJ4mxurfV6ZZDotocMOpl88/4AaaIT+Mw8mxmZ2Smp+pYTc6JlLuyK3z7cXKaMrVmr6kX6a/bQRnotwvcTqvNiMiZIXIDeyl7X4p3YU0cJwoQoyyGSz0Zt6N36bJ3rbQ9wWBRt9Wy59TOlJYoE+KroYIOQwDiCPnrRGU9AWHCKV4+fvTG9ITb6IAfUnJrkNVDFnacGDY2W6fhsbamy3QkyUyiF982AyvTvsmFcyb1I8j3yOOpcvbFUCIjL+MRodRIbUzzKY+u5zNYeNX2R95cMHYYim0OUSitkjFyxqQp4Q/HRGUbdBvlfp9FJR59T6fe3Q4cdNi03C+eCdQSTTYF+BG21cz26QbS99POxoJOD45SBAB0X4qWOpfip1Nf3hY3nuYh0z5J8NrwX7XrThgbsxGVG77N3xUFZ7m8SBEN92vrjH0HwlgJG6n0HAXdqqfOSYUT5UfcwNh+/16ReR/XeL+Z016WimZMrZj/KnwLILDR02A7YnGKp7cT+qDPczwScfC8V5wiNs=----ATTACHMENT:----MjM2MDE4NDU3MjE3NzY2IDYxOTY1NTkxMTUzMTIxNDIgODYwMTE4NTMxNTkyNTIw