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:----uUHtlMQmheJNQfg3adY7akUhJzdpoHmiC4wnTCEomL6gbVhAgVhnsBW0sWzvvKmdmsJtPBgGGWenMSWp7A+THqIg8mGwWhE5ow5FvcbPdXMVyeXjbpRS27OlqQP/k4giRObXrBfKgz2I90a3NtzidqGANKk2YRDtJFjrfBdC6qLzz/NJslK8TXm7Bf8vqRwjZJBZ99+IRzgWi9j7s3lMylM1StLNTT1OoksZuN3OlrgR5kAasFeGiXdx3xhkLYj5tJq0a4oWo7O5cxuLdZU+r9c+ykFO1XXiZ0RdefHn5Hi4t7K0suLXz5JOJp7nUACsY0bvbuv7x2x6alM/Zd+SZ/1nF9dGMtwg8hZysRzkr4rby8karjgLkp0nw7uoUTmHVsyB1G0Yj9jW2iGvHlnycR1Ff/xDtpk4M4O2fMKRAvSUn9n1qf6JGPLqWAxqNOwVbHRWBQoeZAveHkK9pcUYe99VeQ5Q+7jzE/dP6c0mFBucreLb7Ef/FSrFN+bKKdcfjnj6uiK8krIaA9I63Y93wWLATKRhYcEuFS5i0XfatU3hSuS+zS3pDwt5fC3lKQkxZ9481zLratEBuL80R5OcF2lZcuwzlIGqm5tF9Z9UOFadBEq3v+C0rbc15GtLluJsyaPnNYeCBayPnJtGbbuV8AGhf/pLNna39hd/M98zcJw=----ATTACHMENT:----NDg4MDAwOTI5NzUwMDA5MCA4MzgxNTg1NTU3MDAyNjgxIDI1ODYzMjQ0MDc2MzUyNTY=