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:----Cn9ECiKEljegKYB4BZInJh/N/Y/UnBmnTmWfr1VDerFW36bQ9dybCa90rk8APzyoauZKu1pHAWt+GoFN6ZS7CCUpHCLmTcH0Ttm71lQuSZrr/WSyLr7v/lE3tuJDIWDqi9nGsEcqPXv52h5NLZOtugwfHzM2plXI8bkKEyMzwyLKR4JJX/WNwj8Y71aZw0GCY0o+XFwUQkYs4g2yWeSZlbxRGAxLxw2B34z/mdI4XJpO4H4v/X14zqI/AnIcTh5KmFLqfNZhqFA4zRs3lfFELi7IUSwe2DJCsaGguRneuOoSObPbMj4ctejDyfXXf7VXBIeKb3ki1ReAnhbjHWAY9g4M/Y8q324dAHgF6XqpPu4fMzCf+BxRVtENBd+T2Q8uuGEO9SqdVG4pPmsZl4S2o/bZeyuVSpxVUc8ycm/ok6n++KbL2dO3H4y9afBeRSm2XXauoXm66VcO4juS/GllFdXM+eV9bJFT7iDHjgSwIdnvPlYYWApfQ6OhkfVSfBATqI3boPHTxvyfISX9elsfDKqKqeYjqv7rDIQ8yQXtRJhnLiRyw88fvx6iM7BTmQ3LS+o8i87Cxx+5dZbDNvA9vVKTAgG7uAxCHHd63lJvphZo4p74mcNssx3tAXRjYaOwBXRDVIyrKyU44G1Hcsxdy/q+fmxCrMtXpqxrhYWur4o=----ATTACHMENT:----NDgyNTcwNTI3MDMxNTc5MCA3Nzg3OTc5NzQ2ODU0NDk1IDIwNTU2MTc4MjQ3NDExODg=