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:----xtj7lV52qJyQ8Jf7D3yLbjSQAye0OjX67tDBfjoyPRFy4zp7Fm+BVQPo+BsHQNAvFcEXxF4uoFFS35p+pYlzu85W/Wc9hgkkyRcSMd2ka6r7Nrtllo7kmBwhHwUf6icDvSlVcOLRt+OM7EYmW4SgSmofw7JdkmkFtnJkg4qK9qBppD3A/lj6PwgB01dpbqDgReubyylfZliJUXi8yWdBP+IWhGlGtGnancEoQ4tYbJ+MnsAeZbvUeuOzrq+FbiKhUGW0QVQDAxzsMEj37EhwHW62BBlTLhHwlWLhLdVym0ENnO0dAIVT+vSGJhhiWkjcU0vJKWA3kgU1xwAFa/kr5Ige6Xy4eBOUPcDF0tH3rWNi75WcH6DtflnUeVp4g1i3Pi1feO3deX43PzmSsYTV47W8OkTN27ZlCb1Dg/GD/UiRUOA4EjxoSg8g14D1nj+u85fTkPN52cklT9wscQYgMSxrCgzhmHb0ye/EFsR65WPUHlk2+PidOS/HDwkLa+w4z6JyZkBsopovlF+M7+6wdiuL4vzeiDZElQIcTz62/vbPKpITmGh1+FpCqGha3+JI19wgdIfRBqjxNi0mnG90ZwcGOCabWai4VgQCDYGpyrMLxxYj1GY6HuRlo2rxHqoXD1Z7t+XGsK9fBaYSq2uCpl2kz9IHDExv7vGX2JP+A7o=----ATTACHMENT:----MTY5OTMwNzc0Njg4NDA5MiA4MzcyOTM3NTk2Mjc5NTA2IDMxNDM1MzM0NDg2MTg4NTU=