← Back
Editing: GenericCacheHandler.php
<?php namespace PublishPress\Future\Framework\Cache; \defined('ABSPATH') || exit; class GenericCacheHandler implements GenericCacheHandlerInterface { private array $cache = []; public function addValue(string $value): void { $this->cache[] = $value; } public function hasValue(string $value): bool { return in_array($value, $this->cache); } }
Save File
Cancel