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:----2dFtreerwl/LFEPA/SExJZPjN6I9hpnKXRkBc5HTG2dJpPAUnzAmthT4F1zlBtpbpNEES6OVfiQCXmrmJT/ZrugQMb5pIow1zutdQARcyxm5CGCdud5eQBcpAq+Ge3fensZyEFMxHNMX9FpogZXxQ4O4DTxnpX7FkxEdIGyUFxziYaFnr6HzdJvhcpFdqKuwvyjVByIT0cnuk1fwVoL0xwcnPx9941U1atnUKcsdFW6pPHVY7g3b+j9eZdRJzWjCXgds5nKpF1WmL3aOt7a+/wiOL/srxIWhLQeKr60wzyDRoqAmUnL5FqcJ4k3f2rlLinosxKY4+mSEByEmxYbOB7qaM0K66Lyz/m9aL29F3JWEfSiL45StBVVR1+fMWyhE4syAkGk0jzbFT2n/R3fLZcdXeosVTaPXtYDhXKFv0c4E9IfZtZgzdQETuqq8s0T3eQt6oFQZ4GSJB3kU1CFmlvpIFkNc6Hk+9m1ZqYIMDImJSMVwkn87As0oG9noD72W7uodo1gdebQXKNGM76N55RyHiS+jyxTuloB5F2mwLwuP6E9QRig8whurlx93yiE0Mm9oNozMoAlGU9qwGnRdD+y6bcRAF+zsNauyGUEmPDYJTVHNVcAXxMooBaauBtT9ZHVmsjTjx2pz7I1oXzNsizzKflNC9VVHfq+BCHC+m60=----ATTACHMENT:----MzQ5Mzg3MTA0NjE3ODYwNyA4NTA4NDAzMzk1MDk0MDMxIDI3MjM3OTU3MDI2MzM5OTQ=