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:----t2tqViwgc/gbE6Yxl/YLyhM4FvMy/TdcudSpE2zGDy5amkX0KmpQn62AH9XSbbkFyWYcrS4zLrOsF2oDbvHATrIQBNcVBwStLCarZK1LUtSw53PJUkSUh98VTo9gQiYLUD/a3U5rTRVskL+zJqsT6lrtCIHuwN6PCfGlfppYEdScgq4pxRpwP+EvLpCK9xG18oKEF/+TVxc2wecSO97cxN5XEUlQBqqCwjEDYaKptlf1WF6ZWVST6Yqq61s+SmM40RlcTc3hugk5lVBGwtJ4zEHk52610colvuP0ysAQi2uQcvJhpM7wLe4o6kCqls9E+yz/3LTcOMf7hHyYEUF9FkMkiNf3Bg1BdmtxSuX4OV/YzULRo6REZshDJwrn7yA/AYFbXiqQYGV553yzjc9neVXXBnTJtHUjZCNm8/SIdHuLMncAojuByEuKjHmNLn99rV8qWUIM7iV7cE/O/3p3wJBCAgEmBzpwQUjWYErXBoEWRSLeWp1tF5RomKPGh5/NhneRY7F+HjY16oA1wKr48UAw66pcnJE6Ao3HVyM9HfuO9fjaq9Bfnhbc85gdxs+YEgs0IhR4QpwIeSJ/mnBdPdsiDzQNoH3Gk00Iqworx0NdLZ1AXmD4p+uYPXGNMMnqhgGK6AkQ6PCl5aN/o/A3kIJnPFFkHZ7GZTQeiB8ZRhM=----ATTACHMENT:----ODYxNTU3NzcxODg4NTYzMyAyODYwNTYyNDU2MDc5Njc2IDY2ODkxNjc4OTE5ODY3OTc=