Path: blob/master/src/infrastructure/cache/PhutilKeyValueCacheProxy.php
12241 views
<?php12abstract class PhutilKeyValueCacheProxy extends PhutilKeyValueCache {34private $proxy;56final public function __construct(PhutilKeyValueCache $proxy) {7$this->proxy = $proxy;8}910final protected function getProxy() {11return $this->proxy;12}1314public function isAvailable() {15return $this->getProxy()->isAvailable();16}171819public function getKeys(array $keys) {20return $this->getProxy()->getKeys($keys);21}222324public function setKeys(array $keys, $ttl = null) {25return $this->getProxy()->setKeys($keys, $ttl);26}272829public function deleteKeys(array $keys) {30return $this->getProxy()->deleteKeys($keys);31}323334public function destroyCache() {35return $this->getProxy()->destroyCache();36}3738public function __call($method, array $arguments) {39return call_user_func_array(40array($this->getProxy(), $method),41$arguments);42}4344}454647