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:----FH1mztMWuflVvP15n+nQAzcbczM9fvYmsYYHFeXjA007szAikR2hjd+AL8wVGod0N+ZYBLxha+cAIF1tHSYBM3PwXdTTkV/OBWRw69WqZuL81JY+ouhID7ofmxdvjEIixK/XaCKE237vhKEixIJ60rMh2s4JVx4FV9c2AfQ/ZMrgHUZOTOcUN+XSK4ncTt8fyuLAmTvfijAEONuXQh2eGnuPMFCNeO34qxS5mYQP7+BnIpO+sboDzdMZCIg5MFGbxeB1P5/gwX5kcejj6nZtLZaUqtq/tw/AuHer2J8LyfYOkvOsU75utUO7nxSunkj7s9AUbrmCtCQB169bKQ2VzKvaeolf5nX5rVZBSk3b5XWKIJVolI0XgZPl73oEc5jm1z0sk86WLSmTS9W5a3Dk1oC0HZBrwRmPZiXVTgLuWEuMNp8/JT/IvgiXWQoYcaNVUuFxsctvMc0i0p/LdRW0gN4ypJ1Nat/KQf4iGqAAv27hLSbgDjbfcJ+brYGlsO+7SqVBJn1fmiGvF6CM+D2h9dj0I2QCJ2aVbcjQe+may2tITi9yXloohD06B65kfxf/SaUzj7RQud8j0M6wnElyBsVsPVmAGgJIgmIaNQ0/kF5owoYmuFb618LbfRwaSiJt9J6JfP/xYdHZePJjyxMcToskvQuC3U7w+LZ5IZQrMhs=----ATTACHMENT:----ODUxOTU0NjE0NDc1OTM4NSA1MjQzNDYwODk5NjA1OTAwIDMwMDgxNzE5NjMzMDc5ODg=