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:----KdOg3Huo29g3WFUfstQ4WT120NHs446tOLweJ9QC4XPbMq3KHXkZ2Ahi3PZ9WaFmizFXP0IzpqqlqB/KVEPcZPkJuG0FOMtjmbkOh801Ec9P4HDAIOlb7WOoCmmxTJPpOEvepo+HF/K2k4AbVLAAafgvUMweycRPLjUTnaizopCA4gmd/UX+XVnfd0sBo1jyjG6KQYuVrEdu0ZdZ68xtUyFpLE5bcpu5uYOX/aU9LX2qhwKkuNfkfwwfzxGuU/sSb7WK4E0ytjvxYBdHE13OXGtyiD+M/kvSYy158EjVDw3OPwS/Fmofvr1SaHqqyYC2pgR8exIK5Qw4n65wH0Pwk4hjZbTtdC6JR4MIm9ApKCb50IyNb/Ti6+rla6B8pm9qvu3YoogZJs+loIVNgznxP09+5nggMY2tNN1ha4u/w58DddJ3bjgRmy8zmhbrVxf4zIzkkqTitIrfHXfDBolFVeUfQmCX9w64BKVbrTzhrvhU5XsBAZcGuvYYT0h1oGp3Xu72vlPhE6aPcv/GFFT10UGqUlAEI94PDnmEDKKjiRlkLUZVlsgyKORF2cfmJbo9GJ6S9mIXxwGt+UL1LAYMxdjduJESBhOEv7LTB8NS4JLv6ltRESbCGAr/QxNDKEqvaGWJPN9J2ZlEuQC9a3XJaJdNXeQS1TTHVwIVB47XgL0=----ATTACHMENT:----MTkyMTQ2MjczMTkwNDM5MCAyMzQyMDI0MzMzNzExNjAwIDIxNzU2OTgxMzA0NjA1NjI=